C++ graphics in windows 7


  1. Posts : 1
    Windows 7 Home Premimum 32bit
       #1

    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 Computer

  2.    #2

    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 Computer


  3. Posts : 7,379
    Windows 7 ultimate x64
       #3

    radhika15397 said:
    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 Computer


  4. Posts : 1,711
    Win 7 Pro 64-bit 7601
       #4

    Another thing worth a try is running freedos in a virtual machine (like VirtualBox).
      My Computer

  5.    #5

    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 Computer


  6. Posts : 1,269
    Windows 7 Ultimate Retail Box (64-bit installed) + Service Pack 1
       #6

    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 Computer


 

  Related Discussions
Our Sites
Site Links
About 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 22:41.
Find Us