[b][red]This message was edited by colaiuda at 2006-1-15 19:25:29[/red][/b][hr]
Hello.
I am working on my assigment in C++ and I found a program called clocktype
One of the class member is somewthing like this
void getTime(int&, int&, int&);
and the constructor is like this
void ClockType::getTime(int& hours, int& minutes, int& seconds) {
hours = hr;
minutes = min;
seconds = sec;
}
Looking in the function MAIN to find out how to process this constructor I could not find any line to call getTime, can some body help me out to understand what it does and how to call it from main().
Regards.
Comments
getTime(&hr, &min, &sec);