Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main(int argc, char *argv[])
- {
- Time t;
- Angle a(&argv[3]);
- t.Parse(argv[1]);
- cout<<"Time is "<<t.GetHours()<<" hours and "<<t.GetMinutes();<<" minutes.\n";
- cout<<"Angle is: "<<a.ConvertedAngle(argv[2]);<<"\n";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement