online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
//17.15 Printing with printf() #include <cstdio> int main() { printf("%s","hello world\n"); char *phrase = "Hello again!\n"; printf("%s",phrase); int x = 5; printf("\n%d\n",x); char *phraseTwo = "Here's some values: "; char *phraseThree = " and also these: "; int y = 7, z = 35; long longVar = 98456; float floatVar = 8.8f; printf("%s %d %d", phraseTwo, y, z); printf("%s %ld %f\n", phraseThree, longVar, floatVar); char *phraseFour = "\nFormatted: "; printf("%s %5d %10d %10.5f\n", phraseFour, y, z, floatVar); 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