online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> int main() { int i, j, space; int rows = 6; // 총 줄 수 for (i = 1; i <= rows; i++) { // 공백 출력 (왼쪽 정렬용) for (space = 1; space <= rows - i; space++) { printf(" "); } // 별 출력 (2*i - 1 개) for (j = 1; j <= 2 * 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