Monday, May 19, 2014

1. Introduction to C IDE

Introduction to C IDE


  Different parts of a C/C++ Language IDE is shown Below



As show above Program window is used to type program by the programer
Vertical and horizontal bars are used for navigation through program window
Cursor location place is used to show location of cursor in the program window
Run menu is used to compile, link and run the program in active program window

Basic structure of a simple c/c++ program

===============================================================
#include <stdio.h>
#include <conio.h>

void main()
  {



  }
===============================================================

In Above #include is used for adding required library files in the program
stdio.h and conio.h are library header files related to some screen input/output and screen function used later

void main() is the main entry function. it tells c compiler from where to start the execution of the program.
The main program is always written within the { } placed after void main() function.




No comments:

Post a Comment