online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> // 표준 입출력 함수 #include <stdlib.h> // rand() 함수를 사용하기 위한 헤더 파일 int main(){ // 프로그램 시작, main 함수 정의 int i; // 반복 제어 변수 i 선언 for (i = 0; i < 10; i++){ // 0부터 9까지 총 10번 반복 printf("난수 발생 %d -> %d\n", i, rand()); // %d : 첫 번째는 반복 횟수 i, // 두 번째는 rand()가 생성한 난수 값 } 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