Hi, I'm having problems opening directly TurboC++ compiler(dos version) on Windows X. if I click on the TurboC++ icon through windows GUI it opens for a sec(a blank dos screen) and shuts down. so i have to access it through the command line i.e.,
cmd (enter)
c:\tc\bin (enter)
tc.exe
This way TurboC++ opens and I'm able to program and everything..
Why do I have to always start tc.exe
through the command line? Why can't I start it through Windows XP?
Also, after starting tc.exe
through the command line, I am unable to execute any graphics program through it.
I write a simple code for creating a circle using predefined functions..
when i compile and run the program tc.exe
exits and returns back to the command prompt.
Why does this happen?Is there a solution?
I have also tried using DosBox to run TurboC++. it closes on executing the graphics program.
ps: this problem has occurred to only me and my friend..... all PCs in our college have Windows XP or Vista installed and they have no problems. im using initgraph(); function for initialising graphics drivers(using autodetect) and graphic mode.i have given the proper address for bgi files. and the folder contains the file required (EGAVGA.bgi). this program works fine in our college.does this have something to do about my graphics card(nvidia 9400 1gb)?