Hi, I am using difftime() to compare two time_t values.If the difference between the two time_t values is 6, difftime() returns 3606.
Can anybody tell me where I am doing a mistake
User Profile
Collapse
-
difftime() returning incorrect value
-
std::set
I have values in a a set .How can i insert a comma inbetween the values in a set.For example, I have hello world I want the output as hello,world -
std::set
I am using a const std::set in my code.When i compile it it gets compiled successfully,bu t when i try to build my project,it is giving an error:
C2039: set is not a member of std;
can anybody answer my question -
Any other way to do it Raghu instead of strstream stl -
Substring in C++
I have "hello i am fine" as a single string.I want to store hello,i,am,fine in separate variables.How do i do that.Please help me -
Getting current time in seconds
I just want to know when a particular function is called.Can anybody help me in getting this time in seconds. -
Comparison of time
Hello,
I have two different times in two different functions.How can i compare these two values. -
-
Getting the start time of a service
Hello,
I have a service that is running which has an on_action_start ed().In this method how can i find out the time when this service has started.
No activity results to display
Show More
Leave a comment: