online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <stdio.h> typedef struct { int microseconds; } sfTime; sfTime sfSeconds(float amount) { sfTime time; time.microseconds = (int)(amount * 1000000); return time; } int main(void) { sfTime time = sfSeconds(1.2); printf("%d", time.microseconds); }

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