C++/okay....still a few problems
how are you?? hope ur doin well...
my questions are-
i tried the sleep() but the compiler points out an error that sleep() needs a prototype...however i have the windows.h file in the header file so i really dont know what the problem is....
However is there any alternate program i can use...i have dev-c++ but i dont usually compile on that program because at college we use turbo c++...
regarding the menu...that would be a good idea but someone recently posted on a foroum that the function return would be a better idea...any particular way of using it and what header file does it belong to...
Is the time() and sleep() similar in any manner..i soemhow got the time function to work but when running the program it makes the program a bit "yucky" as it looks like the pc got hung .....
Lol..anyways keep helping and thanks a lot for taking your time...
p.s. - is there any chance personal correspondence would do?? i really appreciate it that way..
Hello Varun, thank you for the question.
I don't know if this was just an oversite, but the function is called Sleep() with an uppercase s. This might fix your error.
I am unaware of a function called return. In fact, it couldn't be called that since that is a keyword.
The time function actually gets the time of day from the hardware. Sleep forces a system pause.
No problem. Let me know if you have any more problems.