Advertisement
serikov

Untitled

Jun 23rd, 2013
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.22 KB | None | 0 0
  1. int main(int argc, char *argv[])
  2. {
  3. Time t;
  4. Angle a(&argv[3]);
  5. t.Parse(argv[1]);
  6. cout<<"Time is "<<t.GetHours()<<" hours and "<<t.GetMinutes();<<" minutes.\n";
  7. cout<<"Angle is: "<<a.ConvertedAngle(argv[2]);<<"\n";
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement