How to run C++ program in Windows 7 32-bit?
How to run old DOS programs in Windows 10. As useful as DOSBox is, it can be a pain to run commands each time you want to play. AMD confirms ‘Nvidia killer’ graphics card will. 1 Basic Concepts; 2 Installation; 3 Running a game; 4 Alternate. (complete with Sound, Input, Graphics and even basic networking). Browse into program installation folder and open the dosbox.conf file in any text editor.
- In 7th step after tc it shows 'Failed to locate DPMI server'......Please help... What to do next....??
- i tried to open another program using dosbox due to which my installed c language is dissapear now.. how can i again open c???
- hi i have installed turbo c through dosbox but when i compiled my program it gives error i.e #include cannot be execute... what can i do now??
- any one send me the link of turbo c++ 3.1 white screen version....
- how to open any cpp file which i have downloaded from mail
- how to open any cpp file which i have downloaded from mail
- Patel,I'm not sure what a cpp file is. Can you elaborate?In any case, I would recommend you to ask a new question. Please provide a thorough description of what you are trying to do, where this file is from, and where you downloaded it from.Thank you!
- I have installed DOSBox 7.4, created C file then compiled but not able to run program, the problem is .exe file not created, how to resolve the issue?
- having the same prob! tried several options, nothing concrete!
- How to do graphics program in window 7 environment???
- Abhisiktapatro,I'm afraid I do not understand your question. However, if you are able to describe in detail what you are trying to do or what your issue is, then I recommend you to ask a new question. This way your question will receive a great exposure as it will be featured on the frontpage of Answers.
- I face a problem exactly like Isita95 2010. I've got no ide what to do. Plz help!
- Fusiongemini,like Ishita above, I recommend you to ask a new question.
- i have installed dosbox and the c++ software is working up to the compilation part..but the output scren is not being displayed at all..neither by using the mouse to run the program.....plz help me out
- Ishita,the question above is fairly old and unlikely to receive any attention other than from people searching for an answer like yourself. Unfortunately, I don't know the answer. Thus I recommend you to ask a new question.
- ishita first check whether u hav given the 'getch();' command at the end of the program or not if you hav given the command and still u dnt get the output window then just press Alt+F5 to display the output window
- thanks dude that worked for me!! (damn i was messing with this)
- i have installed the dosbox as u mentioned above...but after mounting drive ,i wrote command cd tc it works but cd bin did not.the message is display like'unable to chage to: bin'.So now what could i have to do???plz reply..
- Will this process also work in running Graphics program in WINDOWS 7 64bit version??
- i have installed the dosbox as mentioned above ... but i couldnt open the output window while running c program in tubo c ... wat may be the problem ... please do help
- After running the tc ++ using dosbox, i m getting an error that iostream.h file not found, cout not found.
- I use vmware and a copy of windows xp to run a virtual xp machine on my vista 64 machine. Compiling a 32 bit program be it vb, c++, c, assembly can be a real hassle on a 64 bit machine. Using Vmware will help, but I would suggest learning to use a new compiler that will work on a 64 bit machine and has a strong support group like eclipse.
- When you're done making a computer program using a particular language, don't be afraid to learn another.Learning how to impress a girl is a continuous process. Once you're familiar with one computer language, and you've already made a program using such, don't stop there. Instead, learn a second language and begin making another program using that language. You'll learn more if you'll choose a language that employs a completely different paradigm than the one you've previously used.
- Just download Dev C++ for win 7 32 bit n open your file in it.
- Hi
1. Install the software DOSBox ver 0.73 : download here
http://www.bestsoftware4download.com/software/t-free-dosbox-download-rqeabjvs.html
2. Create a folder,for example „Turbo“ (c:Turbo)
3. Download and extract TC into the Turbo folder (c:Turbo): download here
http://s1.freedownloadme.info/turboc_installed.zip
4. Run the DOSBox 0.73 from the icon located on the desktop:
5. Type the following commands at the command prompt [Z]: mount d c:Turbo [The folder TC is present inside the folder Turbo]
Now you should get a message which says: Drive D is mounted as a local directory c:Turbo
6. Type d: to shift to d:
7. Next follow the commands below:cd tccd bintc or tc.exe [This starts you the Turbo C++ 3.0]
8. In the Turbo C++ goto Options>Directories> Change the source of TC to the source directory [D] ( i.e. virtual D: refers to original c:Turbo . So make the path change to something like D:TCinclude and D:TClib respectively )You can save yourself some time by having DOSBox automatically mount your folders and start TurboC++:For DOSBox versions older then 0.73 browse into program installation folder and open the dosbox.conf file in any text editor. For version 0.73 go to Start Menu and click on “Configuration” and then “Edit Configuration“. Then scroll down to the very end, and add the lines which you want to automatically execute when DOSBox starts.
Automatically mount and start Turbo C++3.0 in DOSBox ver 0.73:Those commands will be executed automatically when DOSBox starts!Please note:Full screen: Alt and EnterWhen you exit from the DosBox [precisely when u unmount the virtual drive where Turbo C++ 3.0 has been mounted] all the files you have saved or made changes in Turbo C++ 3.0 will be copied into the source directory(The directory which contains TC folder)Don’t use shortcut keys to perform operations in TC because they might be a shortcut key for DOSBOX also . Eg : Ctrl+F9 will exit DOSBOX rather running the code .TryTo use Turbo C++ IDE in windows 7 or in Vista; For those who wants to learn C/C++ just uninstall your 'Graphics driver '
For that Computers->properties->device manager->Display Adapters->graphics driver version u have uninstall that...And after log off Run your 'C:TCBINTC.exe'.it will open in full screen...Just Load the files in C:TC ( Hard disk c: drive)
It is the default location for TC.Enter these lines in the Dos Box options file. (Start menu – Dos box – Options – DOSBox 0.74 Options) That opens in notepad.Scroll down in the notepad file – After these lines“[autoexec]
# Lines in this section will be run at startup.
# You can put your MOUNT lines here.”
type as below :
——————mount c c:
c:
cd tc
cd bin
tc—————-
Alt + Enter for fullscreen, Alt + x to exit TC. Type exit to close Dos Box.Click on Run in the menu – Don’t use Ctrl + F9 to run program. (It will close Dos Box). All directories are set by default location.Software to run C programs on Windows 7
http://www.microsoft.com/express/Downloads/#2008-Visual-CPP
Copy the source code to Visual C++ ( Comes with Visual Studios 6.0 , 2005 , 2008 , 2010 etc. ) and compile .... The exe created would be compatible with your OS .Windows is not like linux which has C/C++ compiler provided with the OS. You need to get your own.Try Visual Studio Express. It's free, it's from MSFT and it's good. You'll be able to compile and create executable files.In the File menu, select Create a new project. Depending on what your CPP file is about, a Win 32 -> Console Application is the simpliest you can do.Add your CPP file and hit the build command. You'll probably have tweaking with include files to get it to compileInstall Dev C++
http://www.bloodshed.net/devcpp.html
or Code::Blocks
http://www.codeblocks.org/
both of which uses the MinGW 32-bit development environment environment for building applications.Both of these tools are a little bit old, and neither is great for developing Windows applications, but for learning C/C++ they should do just fine.- hi... i have installed the software as u mentioned... but i couldnt open the output window for turbo c... please do help... expecting ur reply
- if its aero problem then try using the files in this forum
OP wrote: |
---|
i am rather more interested on how to build the .exe file of my c++ graphics code written in emulated version of dosbox |
Huh? I thought you already built it. And DOSBox is
![How to install dosbox games How to install dosbox games](/uploads/1/2/6/4/126470706/206072078.jpg)
![How To Run Graphics Program In Dosbox How To Run Graphics Program In Dosbox](http://www.myabandonware.com/media/screenshots/r/reader-rabbit-5pi/thumbs/reader-rabbit_3.png)
Look, you're getting yourself worked up because of your deadline and you're making it seem more difficult than it is. This is a common problem, we've all been there. Just take it one step at a time.
1.) Take your executable and copy it to a CD.
2.) Download a portable version of DOSBox from right here: http://portableapps.com/apps/games/dosbox_portable and copy that to the same CD.
3.) OPTIONAL: Write an autorun script that kicks off DOSBox and feeds it the name of your executable at the same time.
4.) Burn the CD.
Forcing a modern OS to run a decrepitly ancient software framework will NEVER be more hackishly simple at any other time in your life, believe me I am a SysAdmin. It's not like I'm suggesting that you recompile BGI for static linkage or, god forbid, saying that you should write a shim.