Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
Balanced Insert Heap Example
Test3
std::set custom ordering with composition
Te
Rounding float to nearest 1000 (fixed)
hello,world !ssn2019
"nearest enclosing namespace"
Recursive Call Example Sum
Throttle Example in C++ (80 requests every 2 seconds)
Program_3
Please log in to post a comment.