thanks!
thanks!
Last edited by vgame64; 02-15-2006 at 07:09 PM.
That's not the syntax you want.
If you're going to pass the time to the constructor, which currently you're not set up to do, then you'd lose the assignment operator and put the duration in the parenthesis. Currently what you'd want to do is just declare the objects and call your set_hour() method (which by the way is setting charge not hour).
Sent from my iPadŽ
You sleep through class? I'm going to be less tolerant with you because according to you, you being trained formally. There is no way your teacher is asking you to do this without atleast taking the basics of how to use objects.Code:parking set_hour();
Open your book and read up on how to use your class functions.
Sent from my iPadŽ
If you missed the beginning of the class, then you'll really need to read the book as soon as you get it. Also get notes from a classmate. In the mean time, you can look at cprogramming.com and their tutorials also we can explain things here, but you'll have to ask specific questions otherwise we'd just be doing your work for you.
Sent from my iPadŽ
AHH I figured it out!!!
Thanks so much for your help....I am indebted to you for life!
^_^