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