hi, i am very new to C++, i know almost nothing, how do i get the compiler to accept time as an input from a user.??????
I have to write a program to calculate the time distace given 2 times
firebird
0
Newbie Poster
Recommended Answers
Jump to PostRead the input as a string and parse it into hours, minutes, whatever.
Jump to PostParse??? How do i do that!?
Many ways; sscanf comes to mind.
All 5 Replies
Dave Sinkula
2,398
long time no c
Team Colleague
firebird
0
Newbie Poster
Dave Sinkula
2,398
long time no c
Team Colleague
firebird
0
Newbie Poster
Dave Sinkula
2,398
long time no c
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.