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#, VB, Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog. Code, Compile, Run and Debug online from anywhere in world. *******************************************************************************/ //θ―΄ζ˜ŽοΌšδΌ ι€’δΈ€δΈͺζ— η¬¦ε·ηš„ long εž‹ζŒ‡ι’ˆη»™ε‡½ζ•°οΌŒεΉΆεœ¨ε‡½ζ•°ε†…ζ”Ήε˜θΏ™δΈͺ值。 #include <stdio.h> #include <time.h> //δΌ ι€’η»™ε‡½ζ•°ηš„ζŒ‡ι’ˆ void getSeconds(unsigned long *par); int main() { unsigned long sec; getSeconds(&sec); printf("η§’ζ•°ζ˜―οΌš%ld\n",sec); return 0; } void getSeconds(unsigned long *par) { *par=time(NULL); //θŽ·ε–ε½“ε‰η§’ζ•° return; }

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