Posts

Showing posts with the label IDE Commands: For Compiling and Executing C Program

IDE Commands: For Compiling and Executing C Program

IDE Commands Ø Program written in C language can be run using Command Prompt, we can run using MS-DOS, Nowdays every windows operating system having inbuilt Command Prompt. Ø   We are going to use following tools for running our C program: 1.Window’s Command Prompt and 2.Turbo C/C++ (TC) Compiler. Ø   In order to run C program we must save or copy C program inside bin folder of TC software having path (Eg. C:/TC/bin/Hello.c) otherwise we are not able to run C program. Ø You can create your own directory or folder using following commands. C:\Users\sudam>D: D:\>cd    My Programs D:\My Programs Ø   In above example cd is change directory command as well as change drive command. My Programs is my current changed directory which is created on (D:\ ) drive and it contains my all C Programs. Ø Suppose we have saved  hello.c  program inside “ My Programs”  folder or directory. Ø   Then we can use following command to compile hello.c D:\My Prog...