hello i am in urgent need of work. i am learning C++ these days and i have some problems. my teacher gave me an assingment aboutcreating a watch with pointers and i have no idea about it, it is due in few days and a friend told me that you guys can help me in this matter. pleae i will be looking for ward to that. thanks
again the program is to creat a watch with poibters.
thaks
Well, you will prpbably need a variable for hours, minutes and seconds.
Then, in one or more functions, you will have to adjust the time.
You may as well create a class _time or something like that, but after you indicated that you are not thet fit with c++, you may want to skip that.
Since your teachers is asking for pointers, you should refer the arguments as pointers and manipulate the values of hour, minutes and seconds using these pointers.