online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
/****************************************************************************** Welcome to GDB Online. GDB online is an online compiler and debugger tool for C, C++, Python, Java, PHP, Ruby, Perl, C#, OCaml, VB, Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog. Code, Compile, Run and Debug online from anywhere in world. *******************************************************************************/ // 함수 변환 형식 지정자 #include <stdio.h> int main() { int a = 1234; printf("[%d]\n",a); // 정수 printf("[%8d]\n",a); // 오른쪽 정렬 printf("[%-8d]\n",a); // 왼쪽 정렬 printf("[%+8d]\n",a); // 오른쪽 정렬, 부호 표시 printf("[%08d]\n",a); // 공백 0으로 채움 printf("[%+08d]\n",a); // 부호 표시하고 공백 채움움 char b = 'A'; double c = 3.14159; printf("[%c]\n",b); // 문자 출력 printf("[%8c]\n",b); // 오른쪽 정렬 printf("[%-8c]\n",b); // 왼쪽 정렬 printf("[%f]\n",c); // 실수 출력 printf("[%8.3f]\n",c); // 오른쪽 정렬, 소수점 아래 세자리 printf("[%-8.3f]\n",c); // 왼쪽 정렬, 소수점 아래 세자리 printf("[%+8.3f]\n",c); // 부호표시, 소수점 아래 세자리 printf("[%08.3f]\n",c); //공백 채우고 소수점 아래 세자리 printf("[%+08.3f]\n",c); // 부호 표시하고 공백채우고 세자리리 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