Thread: ctime
View Single Post
Old 01-28-2008, 02:32 PM   #1 (permalink)
sum1nowhere
 
Junior Techie

Join Date: Nov 2005

Posts: 76

sum1nowhere is on a distinguished road

Default ctime

I am trying to compare the time in my C++ program to various other constants. I am using system("time /t"); How can I assign the time to an integer variable so it can a be compared to other things such as: if (variable > 12:00) or something like that.
sum1nowhere is offline