I have two problems this time. We will have an exam on C in january - we will be required to write a given program. The problem is - we are going to use MS visual c++ 6.0 to write this exam in.
1: The paper will ask to clear the screen and place the cursor in the top left hand corner of the screen. The obvious solution is of course clrscr(). The problem is, visual c++ doesn't accept this function and starts flashing errors (propably because clrscr() is non standard - i think).
Is there any other way to do this?
Simplest answer only please.
2: Also, we will be required to create a delay in the program. Something like, a message gets printed, short delay, message printed, short delay etc.. - you get the idea.
Demonstrate the simlest way of doing this please if you can.
Simplest answer only.
We are allowed to use only standard functions and headers and the header <time.h> is to be avoided as much as possible.
Every man shall see the devil before he dies.