online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> // ํ‘œ์ค€ ์ž…์ถœ๋ ฅ ํ•จ์ˆ˜ int main(){ // ํ”„๋กœ๊ทธ๋žจ ์‹œ์ž‘, main ํ•จ์ˆ˜ ์ •์˜ int i, j; // ์™ธ๋ถ€ ๋ฐ˜๋ณต๋ฌธ์˜ ์ œ์–ด ๋ณ€์ˆ˜ i, ๋‚ด๋ถ€ ๋ฐ˜๋ณต๋ฌธ์˜ ์ œ์–ด ๋ณ€์ˆ˜ j ์„ ์–ธ for (i=0; i<=4; i++){ // ์ถœ๋ ฅ๋  ํŒจํ„ด์˜ ํ–‰์ˆ˜๋ฅผ ๊ฒฐ์ •ํ•˜๊ธฐ ์œ„ํ•œ ์™ธ๋ถ€ ๋ฐ˜๋ณต๋ฌธ for (j = 0; j<4-i; j++){ // ๊ฐ ํ–‰๋งˆ๋‹ค (4 - i)๊ฐœ์˜ ๊ณต๋ฐฑ ์ถœ๋ ฅ, ์˜ค๋ฅธ์ชฝ ์ •๋ ฌ ํ˜•ํƒœ๋กœ ๋งŒ๋“ฆ printf(" "); // ๊ณต๋ฐฑ ์ถœ๋ ฅ } for(j=0;j<i+1;j++){ // ๊ฐ ํ–‰๋งˆ๋‹ค ์ถœ๋ ฅ๋  ๋ฌธ์ž์˜ ์ˆ˜๋ฅผ ๊ฒฐ์ •ํ•˜๊ธฐ ์œ„ํ•œ ๋‚ด๋ถ€ ๋ฐ˜๋ณต๋ฌธ printf("*"); // ๋ณ„ ์ถœ๋ ฅ } printf("\n"); // ๊ฐ ํ–‰์˜ ๋ฌธ์ž ์ถœ๋ ฅ์ด ๋๋‚˜๋ฉด ์ค„ ๋ฐ”๊ฟˆ } return 0; // ํ”„๋กœ๊ทธ๋žจ ์ข…๋ฃŒ }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue