quote:
Originally posted by .Roy
And when i used turbo c ++ there was a command called gotoxy() where moves your pointer to the following coordinates, like gotoxy(5,30). and its not working, maybe i should just use turbo c
If you are going to want to do things like that (which may not seem much, but believe it or not, are
not part of the "standard" library you can always count on), then it may be best to settle on one compiler.
There are three parts to what you are learning: the C language syntax; the standard library, which is very minimal; interacting with the OS and hardware. The language and the standard library will be the same across different compilers. Support for interacting with the system beyond what is provided by the standard library will vary -- not just between operating systems, but even between different compilers. This is what you have been encountering.
You may find
this tutorial useful for your cursor positioning needs.
If you need to
anything relevant to Dev-C++, include the keyword "MinGW" in your query, as that is the name of the compiler and libraries behind Dev-C++.