You are on page 1of 9

2/6/2015

Home

Running C Program on Window 8 - c4learn.com

C Programs

Java

Show Complete Index

MCQ

Tut orials

Examples

Civil Services

Apt it ude

Advert ise

Running C Program on Window 8

C Language Basics Tutorials

Programming Tutorials
Like 31,437

C committee - ANSI
Overview of C
C Language Features
C Language Applications
C First Program
C Program Execution
What is Compiler ?
What is Interpreter ?
Compiler vs Interpreter
C Source Vs Object Code
C simple program

In this tutorial we are going to see, how we can install DOSBox in order to run the
traditional C program in the Latest Window 8 environment. In this tutorial we will be
learning to run C Program on Window 8.
Programming

The DOSBox is x86 immulator which is used to run traditional 16/32 bit DOS applications
in 64 bit environment those are incompatible with DOS applications.

C writing readable program


Comments in C

Steps to run C Program on Window 8:

C Comments Home

1.

How to Run C Program in


Linux Environment

Basically first step to run C Program on Window 8 is to get the DOSBox installer.
Click here and download the DOSBox setup.

2.

Once you have setup of the DOSBox, you need to download the setup for TC. Get TC
setup by clicking on this link. (Get TC Setup)

3.

Now you have all required installers with us, we can start installation now.

4.

Extract the TC.zip file in the C:\TC\

Run C program in linux


environment
C Program to draw Diode
Symbol Using Graphical
Functions
Run c program using command

http://www.c4learn.com/c-programming/running-c-program-on-window-8/

Web Hosting

200+ C Programs

Learn Ajax

Learn C

Learn Android

Learn C++

Learn AngularJS

Learn Linked List

Learn AWK

Learn Stack

Learn Bootstrap
Learn CSS

Java
Technologies

Learn Ant
Learn Collection
Learn Eclipse

Learn ExtJS
Learn HTML
Learn JavaScript
Learn jQuery

1/9

2/6/2015

Running C Program on Window 8 - c4learn.com

Run c program using command


prompt in window
C Single Line Comment
C Multi Line Comment
Rules of Writing Comments
Single Line Vs Multi line
Comment
Language Types
Low level language

5.

High level language


Middle level language

Now unzip the DOSBox0.74-win32-installer.zip and run the installer file to install
the DOSBox.

6.

After installation of the DOSBox open the DOSBox Application by double clicking
on the DOSBox icon on the desktop.

7.

You need to type following command in the Prompt

Learn Eclipse

Learn jQuery

Learn Java

Learn JSON

Learn JDBC

Learn PHP

Learn JSP

Learn SQL

Learn JSTL

Learn VBScript

Learn Servlet

Learn XML

Learn Swing

Learn XML DTD

Metro Social Media

Running C Program on
Window 8

mount e c:\TC\

http://www.c4learn.com/c-programming/running-c-program-on-window-8/

1. C Programming Tutorial

2/9

2/6/2015

Running C Program on Window 8 - c4learn.com

1. C Programming Tutorial

2. XML Training

3. Software Engineering

4. Programming Courses

5. Java Programming

6. Learn Programming Online

8.

Now switch to E drive using the following command.


E:

9.

7. Online Degree Programs

8. Computer Programming Schools

Now hit following command to install the TC.


install.exe

Enter your email address:

Subscribe

Recent Posts

Python dictionary clear() : method

Python Comparison Operators


http://www.c4learn.com/c-programming/running-c-program-on-window-8/

3/9

2/6/2015

Running C Program on Window 8 - c4learn.com

Python Assignment Operators


Python Arithmetic Operators
No cases in switch case : C
Programming
Eclipse Creating Java Class
Eclipse Creating Java Package
Eclipse Creating Java Project
Eclipse IDE Workspace
Eclipse IDE Views
Eclipse IDE Menubar
10.

Press enter to continue

Eclipse IDE Windows : Views

C Programming T utorial
XML T raining
Software Engineering
Programming Courses
Java Programming
Learn Programming

11.

Now Select E drive by typing E and hit enter key.

http://www.c4learn.com/c-programming/running-c-program-on-window-8/

4/9

2/6/2015

Running C Program on Window 8 - c4learn.com

12.

Now keep the source path as it is. Again hit enter key.

http://www.c4learn.com/c-programming/running-c-program-on-window-8/

5/9

2/6/2015

Running C Program on Window 8 - c4learn.com

13.

Now using down arrow key navigate to the Start Installation menu and hit enter
key.

14.

After installation gets started you can see the below blue window like this -

http://www.c4learn.com/c-programming/running-c-program-on-window-8/

6/9

2/6/2015

Running C Program on Window 8 - c4learn.com

15.

After the installation you will be prompted with this window then press any key to
view the help file

16.

Now when you will be prompted with the help window, then press escape key to
close that window in order to return to the DOSBox

17.

Thus we have successfully installed TC using DOSBox.

Running TC using DOSBOX :


1.

Now we need to open the DOSBox option file to run TC as default application when
we launch the DOSBox

http://www.c4learn.com/c-programming/running-c-program-on-window-8/

7/9

2/6/2015

Running C Program on Window 8 - c4learn.com

2.

Now select the DOSBox 0.74 Option menu by searching in sidebar pane in Window
8

3.

Now go to the end in the opened dosbox-0.74.conf file and add the below code in the
file mount e c:\tc\
e:
cd tc
cd bin
tc

4.

save the file and close it.

5.

Now click on the DOSBox icon on the homepage to launch the DOSBox, TC will gets
opened as default application. Enjoy the flavor of the DOS in Window 8
environment.

In the next tutorial we will be going to see how to open and run c program using the
dosbox.
More help : Dosbox Installation guide

http://www.c4learn.com/c-programming/running-c-program-on-window-8/

8/9

2/6/2015

Running C Program on Window 8 - c4learn.com

Previous Page

Next Page

Load Comments

About the Author

Pritesh Taral is a Programmer, Web Developer and


founder of c4learn.com, a widely-read
programming site for beginners. Email: pritesh [at]
c4learn.com
2009-2014 Programming Tutorials.
The content is copyrighted to Pritesh Taral and may not be
reproduced on other websites.

http://www.c4learn.com/c-programming/running-c-program-on-window-8/

9/9

You might also like