Hi .I;m new 'to graphics' in c++.That's why i start with graphics.h lib.Yet when i'm tryimg to display , for example a rectangle and move it in a loop , it keeps appearing and disapearing.I put and a delay time... I don't know what to do.Plaese help me...
You are mixing WinAP with an ancient compiler.
It isn't going to behave nicely.
Either just use the <graphics.h> and <conio.h> facilities only or drop them for Win32.
Because of its age, you might also want to be running it on an emulator that handles the old 16-bit graphics stuff.
The age of your compiler really is an issue. You should get TDM-GCC or Microsoft's VS Community Edition and start using them instead. http://tdm-gcc.tdragon.net/ https://www.visualstudio.com/ (click the "Download Community 2015" button)