Question:
I cant see the output of my program plz help?
shefali
2009-05-31 04:38:38 UTC
include

#include

void main()

{

int gd=DETECT,gm;

initgraph(&gd, &gm, "c:/tc/bgi ");

circle(330,180,100);

getch();

closegraph();

restorecrtmode();

}


this is my program i have removed linkr error also but when i m running it output screen is not comin
so i went to windows option and then clicked on output screen so there bgi error was written so now wat shud i do????
bgi folder is there in the tc folder
i m using turbo c++.
my other programs are running but this is not
i m in class 12
learning graphics in c++ on my own .so i tried running this sample program so output screen is not coming.
plz tell me in detail wat shud i do
i have windows xp....
Four answers:
Mani S
2009-05-31 07:35:14 UTC
Download the "myc.rar" file from http://www.MegaShare.com/974876

It contains my Turbo C installation. If you click on this link, a page will open up, asking if you want Free download or Premium download.



•Click on the "Free" button, provided at the bottom of the table.

•It'll ask for the password. I've sent the password to your ID.

• I've used WINRAR to compress the file. So, extract the "myc" folder and paste it preferably in the "D" drive, or any drive other than where you've got the OS files.

•Don't paste the "myc" folder inside any other folder. Exactly inside the drive.

•If you install it in the D drive, all options would have been configured. Anyway, do check if the input and output directories are present.

• Try executing the program. Even after performing all these steps, if you get some BGI error, then the problem is probably with your computer hardware.

•Change the contents of the following line as given

Actual : initgraph(&gd, &gm, "c:/tc/bgi ");

Change it to: initgraph(&gd, &gm, "d:/myc/bgi ");



Hope this helps. If it does, please select my answer as the best one!! Happy programming :)
?
2016-12-13 08:25:23 UTC
if ( playeri == rightnumber) { cout << "you win! sturdy activity! style in any quantity to end the sport."; } else you go with those {} for each if fact, in any different case it has no beginning up and no end to the classes. occasion: if (cost == valuetwo){ // classes right here if actual } that's why it truly is failing, i think of.
rtrtu7635j
2009-05-31 04:45:12 UTC
put a # in front of



include
Juliet !!!!!!
2009-05-31 04:47:10 UTC
put hash(#)


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...