Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Print system time
//clang 3.8.0 // CPP program to print current date and time // using time and ctime. #include <stdio.h> #include <stdlib.h> #include <time.h> int main() { // declaring argument of time() time_t my_time = time(NULL); // ctime() used to give the present time printf("%s", ctime(&my_time)); return 0; }
run
|
edit
|
history
|
help
0
isnan_constexpr
Throttle Example (Send two requests every two seconds)
regimeketopdf
Test3
001
C++ standard
general
STL Stack, C ++
C++ does not have reference-to-reference types
Fun with Pointers #1