Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Time Stamp
//gcc 7.4.0 #include <stdio.h> #include <string.h> #include <time.h> void get_timestamp ( char * timestamp ) { time_t seconds = time ( NULL ); sprintf ( timestamp, "%-llu", ( unsigned long long int ) seconds ); } int main(void) { char timestamp [ 12 ] = { 0 }; get_timestamp ( timestamp ); printf("%s\n", timestamp ); return 0; }
run
|
edit
|
history
|
help
0
recursive
LinkedListTest
Présentation
problemapi2
Atomic Openmp
ele709 lab 3.2
140114_CribaErasthotenes
Project 3 part 2 Book v10.2
CharacterInput
structt