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
Fun with Pointers #1
cv5_class
Uno
test string
6 7
DESim Example Starter Code
Alloc
C++ Template
Throttle Example using a circular queue (Push all but 2 less than maxSize; then pop all but 2 of current size)
ternary test