Monday, February 25, 2013

Getting Started With C and C++

Getting Started With C and C++:



Getting StarttedIntroduction

Welcome to this blog which is about on C and C++ programming language. Here I shall discuss on this popular language from beginning to professional level. Visiting step by step through this blog, you will able to know how to create professional software with this high-level language. So no more wait…… but before starting, we will be familiar with the background of C and C++ programming language.

 Programming Language 

Language is used to communicate with each other. But programming language is specially used for computer to communicate with its user. As computer understands nothing except 0 and 1, its user should build an instruction set which is combination with 0 and 1 named as machine language. So a compiler is necessary to interpret user’s symbolic word to computer readable instruction set. As a demand, programming language comes out.
From the above discussion, Programming Language is defined as an instruction set, word or code which is readable to the computer and used to solve any practical problem by the computer.

Types of programming language

Programming languages are divided into two types…

  •  Low-level language: This is directly readable by the computer. Such as machine language and assembly language.

  • High-level language: An interpreter is necessary for these languages to translate human readable code to machine readable code. C, C++, lava, C#, Visual Basic etc are the example of high-level language.

  What are C and C++?

  • C which was created by Dennis Ritchie at Bell Laboratories at 1972 is one of the most popular high-level  computer languages. It is treated as a God language of computer.



  •  C++, an extension of C, was developed by Bjarne Stroustrup in the early 1980s to overcome the limitation of C. C++ contains all the functionality of C language with some extra features including object-oriented capabilities discussed later in details in this blog. Today, most of the general-purpose operating system like windows is written in C or C++ language.        


Advantages of C and C++ language

  •   Easy to learn than other high-level programming language.

  •    Platform independent language.

  •   Easy to control both hardware and software.

  •     Both modular and object-oriented programming capability.

  •    Operating system programming capability.

  •   Capable of programming both microcontroller and microprocessors.

  •    The best hardware friendly programming language.

  •    More Speedy.

For the above functionalists, C and C++ are the most popular modern language.

Programmer view on C and C++

There are a lot of computer languages in programming. All of these, C and C++ provide easy syntax and functionality. So, at the beginning most of the programmers suggest to start with C and C++ in programming world. I also started my programming concept with this language and it is one of my favorite languages. I think you are lucky if it is your starting point in programming.   
  
Prerequisites to learn C and C++
  • Educational quality: No specific certificate is necessary. Anyone who is eligible to read this tutorial is able to learn C and C++.
  •  Operating quality: Some basic knowledge about windows operating is suggested but not so necessary for this tutorial. Playing with C and C++ anyone can be familiar with the operating system.  
  • Necessary software: A C++ compiler and an IDE (Integrated Development Environment) are strongly necessary. There are a lot of IDEs to edit and compile program but among these we will use a Microsoft’s product MicrosoftVisual Studio 2008. I shall give you a short description how to download and install Microsoft Visual Studio 2008 to your operating system and program at it in later section.
Now we ready to start our first program in C and C++. So no more wait. You do make a lot of tolerances. We are just going to start our first program in our favorite language to the next pages.   

Click to open first program in C and C++

No comments:

Post a Comment