Vista doesn't support full screen mode while operating Turbo C++,and its also doesn't support graphics(bgi) while operating it. Is here any idea to run Turbo C++ with graphics in vista?

Recommended Answers

All 13 Replies

Vista doesn't support full screen mode while operating Turbo C++,and its also doesn't support graphics(bgi) while operating it. Is here any idea to run Turbo C++ with graphics in vista?

yes yaar.. i am also having the same problem... someone.. please.. respond to this thread.... i have a minor project in c++.. i dnt wanna switch back to xp again.. im using windows vista.. ultimate.. black edition...
help me out...

Get a real compiler and stop living in the past!

What's wrong with all you people who drag around some 20+ year old "security blanket" like it's the single most important thing in their lives!

So you've got to learn some new stuff - well "boo hoo". IT is one industry which doesn't live in the past.

You've spent lots of money on the new hardware and OS, surely now is not the time to throw away that investment by using a compiler which can only access (badly) 1% of the machine.

Here are a couple to be getting on with
http://www.codeblocks.org/
http://en.wikipedia.org/wiki/Visual_Studio_Express
Both are FREE, save for the cost to download them.

Still hungry?
http://www.thefreecountry.com/compilers/cpp.shtml
http://www.compilers.net/

Get a real compiler and stop living in the past!

What's wrong with all you people who drag around some 20+ year old "security blanket" like it's the single most important thing in their lives!

So you've got to learn some new stuff - well "boo hoo". IT is one industry which doesn't live in the past.

You've spent lots of money on the new hardware and OS, surely now is not the time to throw away that investment by using a compiler which can only access (badly) 1% of the machine.

Here are a couple to be getting on with
http://www.codeblocks.org/
http://en.wikipedia.org/wiki/Visual_Studio_Express
Both are FREE, save for the cost to download them.

Still hungry?
http://www.thefreecountry.com/compilers/cpp.shtml
http://www.compilers.net/

thanx tat was real quick help... i hope.. this thing wud work for me.. i m dwnlding this ide...
i hope if i hv any prvlem in working in this ide.. it wud be resolved... thanx a lot...

Get a real compiler and stop living in the past!

What's wrong with all you people who drag around some 20+ year old "security blanket" like it's the single most important thing in their lives!

So you've got to learn some new stuff - well "boo hoo". IT is one industry which doesn't live in the past.

You've spent lots of money on the new hardware and OS, surely now is not the time to throw away that investment by using a compiler which can only access (badly) 1% of the machine.

Here are a couple to be getting on with
http://www.codeblocks.org/
http://en.wikipedia.org/wiki/Visual_Studio_Express
Both are FREE, save for the cost to download them.

Still hungry?
http://www.thefreecountry.com/compilers/cpp.shtml
http://www.compilers.net/

hey i dwnloaded the first codeblocks thing... n nw if im trying to run my graphics included program.. it makes an error.. saying

BGI error:Graphics not initialised (use 'initgraph')
i dwnloaded it in e: drive.. wat is d driver path that im supposed to give...?? help me out..

http://www.catb.org/~esr/faqs/smart-questions.html#writewell
First off, this is your only chance to clean up your script kiddie speak.
We're very selective about the posts we answer, in the limited amount of time we have available. Poor language skills just mean your post gets looked at later (or not at all).

> BGI error:Graphics not initialised (use 'initgraph')
Because all that crappy DOS BGI stuff has gone away!
http://www.cs.northwestern.edu/academics/courses/110/html/codeblocks-glut.html for installation and an intro
Then
http://nehe.gamedev.net/ for a tutorial

An alternative might be (more help, examples, tutorials and downloads)
http://www.libsdl.org/

None of this will be very easy to begin with, graphics is pretty intense stuff at the best of times.
But when you do figure it out, the graphics you'll be able to create will blow away anything you could ever have achieved with TurboC

You can use DOSBOX in vista to use turbo C. I would recommend if you are trying to learn algorithm implementation do it using wxWidgets

Hi Friend U Do One Thing Install Dos Box In your System, But It Is Having Color Dissplay Problem, Or U Do One More Thing Change The Display Driver Property I Show u How To Change, Just Fallow That And U Can Get CMD In Full Window, Then U Can Compile The C Program

commented: You are writing like a two-year-old. -5

Please look at the alternatives for Turbo C++ IDE before reading this post. Continue reading it only if you want to use BGI graphics (consider Allegro Gaming Library if you want an easy to use Graphics solution for C\C++) or for code compatibility for your Textbook. You might consider changing your textbook if your University\College allows for new code. Continue only if you have no other option than using the DOS based Turbo C++ 3.0.


You will want to follow the tutorial if you plan to use Linux, Mac OS, Windows Vista or Windows 7 in but have to use Turbo C++ in full screen environment so you are stuck with Windows XP or older version of Windows.
Installtion Of Dosbox
Dosbox is an x86 emulator with dos. It is available for Linux, Windows and Mac. It can be used to run legacy DOS applications and Games. We will use to run Turbo C++.

Dosbox may be present in the repository if you use Linux. Use your package manager to install dosbox.

Windows and Mac installers\binaries can be found in the official website.

One-Time Setup
Place the installed Turbo C++ or Turbo C++ Setup in a folder. You might want this folder to mount as drive inside the dosbox. For that find the dosbox.conf file and add appropriate lines in the [autoexec] section. For example, if you want to mount a directory MyDosFiles as c:, then you must write the following in the dosbox based on your OS. For Windows (Vista or 7) you will need to add the following lines:
mount c c:\MyDosFiles
if the directory is in c:\
In Linux and Mac, it will be something like:
mount c /home/username/MyDosFiles
if the directory is in /home/username i.e. the home directory.

If you just plan to use Turbo C, you might as well launch the Turbo C++ IDE each time you start dosbox by adding folowing extra lines in dosbox.
c:
cd tc
tc.exe

Here I have assumed that you have installed version of Turbo C++ in the tc directory in MyDosFiles.

Also, you might want to add
fullscreen = true
at the top of the dosbox.conf file to start it in full screen.


Now, you can Launch dosbox and enjoy.

To quit, you will need to quit the IDE and type in exit at the prompt.

Hope this helps. Please post back comments and feedback. Also share if you get stuck somewhere.

commented: Lots of good info here -- too bad it will get lost in the shuffle. +25

Bull shit and Balls to u dear>
The blog is for people who are interested and want to learn more.
May u think your self as a SMART ASS ,but remember your not the only person in this world who can answer this question.
If you think its a Kiddie question better fuck off from the blog and stop.>
At least i don't believe in something if i can help someone if it is a creepy question or a Poor language.
Evey body is not a Alchemist or a have a Born identity of Newton
U better stop humiliating people and learn some manners u asshole.
If u cant answer someone or u think u dont have time "fingers in hole and shut up.But u got no rights to humiliate someone u Brilliant ass.
So now i think u are felling how it fells to humilate someone u PUNK

Lean some mannares to communicate with people>
Always remember u r helping someone and thats the best thing a human can ever do...

http://www.catb.org/~esr/faqs/smart-questions.html#writewell
First off, this is your only chance to clean up your script kiddie speak.
We're very selective about the posts we answer, in the limited amount of time we have available. Poor language skills just mean your post gets looked at later (or not at all).

> BGI error:Graphics not initialised (use 'initgraph')
Because all that crappy DOS BGI stuff has gone away!
http://www.cs.northwestern.edu/academics/courses/110/html/codeblocks-glut.html for installation and an intro
Then
http://nehe.gamedev.net/ for a tutorial

An alternative might be (more help, examples, tutorials and downloads)
http://www.libsdl.org/

None of this will be very easy to begin with, graphics is pretty intense stuff at the best of times.
But when you do figure it out, the graphics you'll be able to create will blow away anything you could ever have achieved with TurboC

Please look at the alternatives for Turbo C++ IDE before reading this post. Continue reading it only if you want to use BGI graphics (consider Allegro Gaming Library if you want an easy to use Graphics solution for C\C++) or for code compatibility for your Textbook. You might consider changing your textbook if your University\College allows for new code. Continue only if you have no other option than using the DOS based Turbo C++ 3.0.


You will want to follow the tutorial if you plan to use Linux, Mac OS, Windows Vista or Windows 7 in but have to use Turbo C++ in full screen environment so you are stuck with Windows XP or older version of Windows.
Installtion Of Dosbox
Dosbox is an x86 emulator with dos. It is available for Linux, Windows and Mac. It can be used to run legacy DOS applications and Games. We will use to run Turbo C++.

Dosbox may be present in the repository if you use Linux. Use your package manager to install dosbox.

Windows and Mac installers\binaries can be found in the official website.

One-Time Setup
Place the installed Turbo C++ or Turbo C++ Setup in a folder. You might want this folder to mount as drive inside the dosbox. For that find the dosbox.conf file and add appropriate lines in the [autoexec] section. For example, if you want to mount a directory MyDosFiles as c:, then you must write the following in the dosbox based on your OS. For Windows (Vista or 7) you will need to add the following lines:
mount c c:\MyDosFiles
if the directory is in c:\
In Linux and Mac, it will be something like:
mount c /home/username/MyDosFiles
if the directory is in /home/username i.e. the home directory.

If you just plan to use Turbo C, you might as well launch the Turbo C++ IDE each time you start dosbox by adding folowing extra lines in dosbox.
c:
cd tc
tc.exe

Here I have assumed that you have installed version of Turbo C++ in the tc directory in MyDosFiles.

Also, you might want to add
fullscreen = true
at the top of the dosbox.conf file to start it in full screen.


Now, you can Launch dosbox and enjoy.

To quit, you will need to quit the IDE and type in exit at the prompt.

Hope this helps. Please post back comments and feedback. Also share if you get stuck somewhere.

Is visual C++ express suitable to create textboxes and some graphics by only C code...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.