0
How to setup graphics.h header to write graphics program in Codeblocks IDE or in Turbo C?
4 odpowiedzi
+ 1
Code::Blocks Tutorial 🔽
https://www.geeksforgeeks.org/include-graphics-h-codeblocks/
(I strongly recommend using Code::Blocks over Turbo C)
+ 1
Turbo C++ is a real real old, and an ancient compiler!
There are lots of problems with Turbo C++. My new laptop didn't support codeblocks, so I downloaded turbo C Not knowing how much time was it going to waste. It didn't compile and run my codes correctly, automatically deleted those old codes I compiled and ran, didn't respond, etc.
After some research I came up with few reasons:
1. The maximum amount of memory that a program can use in turbo cis 2^16 = 64 KB, which is very less compared to modern day IDE.
2. Debugging is nothing compared to other IDEs.
3. The compiler does not support modern day casts, only C-Style casts.
4. No STL.
5. Cursor freezes.
6.The compiler has bugs and does not respond to most programs specially with graphics.h and loops.
+ 1
How to work with graphics with codeblocks?
+ 1
I think this will help
https://youtu.be/VEkAj-xVTKQ
https://www.youtube.com/playlist?list=PL5UFsTza4wWSNhe0xuO6ELw7ORU-UHNDO
These are those video toturials that I learned graphics.h from. I also bought a graphics.h book.
Click on the first one for how to include and second to learn.
BTW don't use turbo c for coding it's not a good IDE and a waste of time. Code blocks is best.