You are here:

C/To open the page of c prog.

Advertisement


Question
In computer after clicking run option in start,in 'cmd' what instructions should be given to practice programs?

Answer
Hi dear Nitya!

  It seems you are a newbie for computers, no probs even ive came across the same problems 6 years ago.
First thing is you must have the C/C++ Compiler to be installed in your computer if not please download a copy of Turbo C/C++ Compiler from the following link

www.brothersoft.com/turbo-c-download-182798.html

unzip all the files , you can find INSTALL.EXE double click it and install the compiler,
by default it will install in C:\TC directory once after installing ur compiler just open the folder
C:\TC\BIN\ you can find TC.EXE just double click it it will open a C/C++ development IDE,
Type your program and save with .C (must) Extension

Press ALT+F9 Key to compile your program and CTRL+F9 to run ur prog


From The RUN Oprion:

(i assumes that ur compiler is installed in C drive )

Open RUN from start menu
Open Command Window using "cmd"
by default it will be showing like this

C:\>Documents and Settings\......
Type  CD.. and Press ENTER Until the Command Prompt looks like the following

C:\>
Then enter the following set of COMMANDS
C:\> CD TC Press ENTER
C:\TC>CD BIN Press ENTER
C:\TC\BIN>TC Press ENTER

Then it will open the Turbo C/C++ IDE and then type ur programs and compile it and run as i said above

NOTE:
 If your compiler is installed somewhere other than the given above path , then use the appropriate command to locate the TC.EXE

for more support feel free to mail at princeatapi@yahoo.co.in

Thanks and Regards!
Prince M. Premnath  

C

All Answers


Answers by Expert:


Ask Experts

Volunteer


Prince M. Premnath

Expertise


I'm sure that I can solve any doubts in Turbo C ,Graphics Programing ,Mouse, Hardware Programming ,File System ,Interrupts, BIOS handling , TSR Programming , General Concepts in C Language, handling inline Assembly statements

Experience

Research over 6+ Years

Organizations
CG-VAK Softwares and Exports Limited

Education/Credentials
Masters in Computer Applications

©2012 About.com, a part of The New York Times Company. All rights reserved.