- Anem per la linea 1550 de la passada 1 (sintaxis)
This commit is contained in:
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"files.associations": {
|
||||
"algorithm": "cpp"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
#include "crt.h"
|
||||
#include <time.h>
|
||||
|
||||
uint8_t get_hours()
|
||||
{
|
||||
time_t t;
|
||||
struct tm *tm;
|
||||
time (&t);
|
||||
tm = localtime (&t);
|
||||
return tm->tm_hour;
|
||||
}
|
||||
+951
-993
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user