Quote Originally Posted by Elkvis View Post
Both of these headers are nonstandard and should not be used. Turbo C was already obsolete 20 years ago. Get a real compiler, such as GCC or MSVC.



NO! BAD! Do not use goto! Use a proper loop construct if you need to repeat something.

Also consider indenting your code. It's essentially impossible to follow without indentation. Use Col. Gibbon's original post as an example of good indentation and formatting.

You need to stop trying to give advice on this thread. Your knowledge is outdated and is not helpful in any way.
I do not doubt you that it is outdated. However Borland Turbo C 2.01 is based on K&R standards and that is a heavy positive. It is just tailored to DOS. Throughout my manuals there are sections that continue to be current. Other sections are specific for MS-DOS. For instance Windows using one of the NETBasics languages has images you can move and define automatically. While MS-DOS doesn't have such a thing and the colors are less. I've programmed in Windows before with one of the Windows language. Moving an image from one corner to the other. Anyways if I was a C programmer and that I am I like to see how things are done in other languages too. Although I don't use it being a programmer I like those things.