![]() ![]() Sorry we don't have a better answer than "get yourself a real compiler," but at least you know why we say that. I should put this in the FAQ since it is a continuing problem over there. But it does require you to hack at your compiler in ways that may destabilize it - meaning you'll break some other project that used to compile with it. ![]() Yes, you can find stuff to give you "windows.h" and more modern versions of the STL (to some degree) using the older compilers, but they will never be quite the same - there will always be an obvious problem with them. You can continue to compile legacy code with the older compiler - it will still work - but also write new code with the new compiler.Ģ) Modify your compiler to approximate modern methodologies. Both Microsoft VC++ and GCC (MinGW) toolchains are excellent and free. Unfortunately options are slim if you stick with a compiler that old.ġ) The best thing you can do is convince your school's CS department chair or employer or whoever that it is worth their time to get a modern compiler. They are designed for 16-bit Windows systems they are non-standard they frustrate people like the OP because they don't work the way people on the net say C++ should work. Following is a list of functions of graphics.h header file. You can change their colors using the available functions and fill them. You can draw circles, lines, rectangles, bars and many other geometrical figures. Sadly, those compilers, while excellent for their time, are not compatible with the current state of the art. Using functions of graphics.h in Turbo C compiler you can make graphics programs, animations, projects, and games. Many people go to school to learn computer programming, or get a job to do it, and are actually required to use things like the ancient Turbo C++ 4.0 or the like. It is unfortunate that many people in India and the Middle East are stuck using software that is very old. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |