Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: C++ graphics in windows 7

20 Jun 2013   #1
radhika15397

Windows 7 Home Premimum 32bit
 
 
C++ graphics in windows 7

Hi ,
I have turbo C++ which starts in dos box0.74.
All the other program are running but when i write a proram for drawing a circle, it won't work.
Please help!!!!!
thanking you


My System SpecsSystem Spec
.

20 Jun 2013   #2
x BlueRobot

 

Could please clarify on what the problem is? Does your complier work?

Are you sure you've written the correct code? Check for any errors indicated by your complier in your source code.

If your having problems with creating a circle, then this may be of help to you - Creating a circle - C++ Forum
My System SpecsSystem Spec
24 Jun 2013   #3
archer

Windows 7 ultimate x64
 
 

Quote   Quote: Originally Posted by radhika15397 View Post
Hi ,
I have turbo C++ which starts in dos box0.74.
All the other program are running but when i write a proram for drawing a circle, it won't work.
Please help!!!!!
thanking you
Hi radhika15397, Welcome..I was also facing same issue. I don't do C++ as profession, I just like to make small programs. I was trying to make Loading bar in C++ and was not able to make one. I read many articles and it confirms that Turbo C++ compiler is not compatible with our Win 7. You might be getting error "BGI graphics not supported in windows" or something like that...This means that the graphic file is not supported in win 7.

You can try this and see if it helps. Try to save file like this.

File ==> New ==> Project
Platform: DOS (Standard), Libraries: BGI
If it don't work so type: initgraph(&dr,&m,"C:\\BC5\\BGI");
My System SpecsSystem Spec
.


24 Jun 2013   #4
bobafetthotmail

Win 7 Pro 64-bit 7601
 
 

Another thing worth a try is running freedos in a virtual machine (like VirtualBox).
My System SpecsSystem Spec
24 Jun 2013   #5
x BlueRobot

 

Turbo C++ was released in 1990! What C++ specification are you writing in? If you writing with modern Standard C++ specification, then your complier may not understand the code your writing, even though it is technically correct.
My System SpecsSystem Spec
27 Jun 2013   #6
Faladu

Windows 7 Ultimate Retail Box (64-bit installed) + Service Pack 1
 
 

Look for other C++ compilers, this is a recommended one:

Download | Microsoft Visual Studio 2012

There are 2012/13 versions, but didn't see any there as free. [says 2012 above but it's showing you the 2010 downloads]

Plus plenty of books available on that one to learn.
My System SpecsSystem Spec
Reply

 C++ graphics in windows 7




Thread Tools





Similar help and support threads
Thread Forum
play high graphics games without graphics card
How to: Use 3d Analyzer video at youtube found this and thought i would share this info here
Gaming
Enabling onboard graphics/Disabling graphics card method
Hi all, Video card appears to be reaching the end of the road, with regular crashes of 0x117 type. After extensive attempts to fix it, the conclusion is that the card needs to be replaced. I plan to acquire a completely new computer when I go overseas in 8 days time. Until then, a band-aid...
Graphic Cards
Updating graphics drivers on switchable graphics
HP DV6 6121tx AMD HD6770M Windows 7 64bit I just reinstalled Windows and I want to update my graphics drivers to the latest ones (13.1). I'm runnning Dynamic mode. So at first I installed the latest HP provided AMD Display drivers from HP's website AMD High-Definition Graphics Driver HP...
Graphic Cards
New Graphics Card new Event Viewer entries (NOT graphics related??)
I usually make a habit of checking Event Viewer (EV) on a regular basis, having installed new drivers and a new graphics card this morning, without a hitch, I decided to check EV since this was a rather big change to the system. Sure enough there was some new entries. However when I looked into...
Performance & Maintenance
Graphics Card/Onboard Graphics for Media Centre PC
Hello there, I am looking for a dirt cheap, Windows 7 suitable graphics card for use with a PC designed for multimedia purposes (watching films, listening to music etc). I would like to be able to use the full visual effects Windows 7 has to offer. It must have an S-video output and be ...
Graphic Cards

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 19:20.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App