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

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

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium x86 Service Pack 1 - Linux Mint Mate 14 x64
 
 

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

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

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

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium x86 Service Pack 1 - Linux Mint Mate 14 x64
 
 

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

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




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 02:30 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33