Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #107.40K
~117 People Reached
Favorite Forums
Favorite Tags
c++ x 1
Member Avatar for jobra

Hi all, [code] #include<ctime> #include<string> int main() { string snapshot_time = "10:00:00" int interval = 60; string end_time = convert_hour(snapshot_time,interval); cout << end_time << endl; } string convert_hour(string &snapshot_time, int interval) { char current_time[BUFSIZ] = { '\0' } ; struct tm tm; strptime(snapshot_time.c_str(), "%H:%M:%S", &tm); tm.tm_sec = tm.tm_sec + interval; …

Member Avatar for WaltP
0
117