bonjour,
je suis débutant en prog C/C++ et j'aimerai savoir si quelqu'un pouvait m'expliquer en détails (avec des mots que je puisse comprendre lol ) le code suivant (mot par mot si quelqu'un a assez de patience) :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 { time_t now = time(0); struct tm tstruct; char buf[80]; tstruct = *localtime(&now); strftime(buf, sizeof(buf), "%X", &tstruct); return buf; }
D'avance, merci.
Partager