int gDriver=DETECT; //Detect the top priority graphic Driver.
initgraph(&gDriver, &gMode, <path to bgi directory: string>); //Initialize the graphic Mode.
closegraph(); //Terminate graphic mode.
restorecrtmode();//<--This is important. Restore to previous mode (Text mode)
This should be sufficient but BGI graphics are unsupported in 32-bit compilers & so I guess you are coding with an obsolete TurboC++ compiler. Chuck it.
And please in future be more elaborative in your explanations.
we have an assignment in computer programming .we will do images in c++ .can you give source code in creating a line,circle,coloring,other shape,how to fill it with color .i'll wait for your answer .monday its our deadline so i should do it now .thanks!
@madhub2v - please use real English words. "Thank Q" is not a word.
@apee_mimi - Welcome to DaniWeb! You have done what we call "thread hijacking". That is, you've asked a question unrelated to the original post at the bottom of a thread. You should, instead, start your own thread.
Hi I'm having a problem implementing a mini shopping cart drop down in the header to show the user all the products they have in their shopping cart. It seems the only solution for this is Ajax, and I've looked all over and can't find anything that I could possibly ...
Help! I want to create a java program that finds the highest even integer among the values entered by the user. Stop asking values when a value less than 1 have been entered. If no even integer is entered, display "No Even Integer"