+ 13

How get current date ,file name and Current Time as output in c++

20th Mar 2017, 2:19 PM
Amar Dahake
3 Answers
+ 3
you can use a macro __FILE__, __LINE__,__func__
20th Mar 2017, 7:29 PM
$Ā¢šŽā‚¹š”­!šØš“
$Ā¢šŽā‚¹š”­!šØš“ - avatar
+ 3
__DATE__,__TIME__
20th Mar 2017, 7:30 PM
$Ā¢šŽā‚¹š”­!šØš“
$Ā¢šŽā‚¹š”­!šØš“ - avatar
+ 3
use #include <ctime>
27th Mar 2017, 7:09 PM
stance changer
stance changer - avatar