Please tell me how to set the system date in pure c++(not vc++). Thanks
Printable View
Please tell me how to set the system date in pure c++(not vc++). Thanks
This is a vendor dependent thing: there is no standard library function for setting the system date.
I don't know about the Windows system but you need root privileges to set it on Unix.