Wednesday, 22 October 2014

Introduction to CPP

The is very useful to all the Cpp folks to learn more about C++ programming.
It is not a problem if you do not have the experience in the programming, this Cpp tutorials site will help you to become the master in the CPP. This site will help you to learn more about design in C++ and good programming style.

Introduction to Cpp tutorials:

Heartily welcome to cpptutorials site. The tutorials in this section are helpful more for programmers who are new to cpp and also helpful to experienced programmers to become the master in cpp. Here the cpp programmers will find more tips to improve their coding skills.

Each topic will be explained in detail with the working examples.

We have considered couple of important areas as followed:
1) This tutorial covers all most all the topics of c++ with more advanced topics.
2) Each topic is explained with at least one example. After finishing the reading, you can get the knowledge not only know how to program in C++, you will know how NOT to program in C++, which is very important to the programmer.
3) By reading these tutorials C++ programmers understand the correct way to use the language, in addition to the syntax. They recognize the importance of good design, the theories of object-oriented programming, and the best ways to use existing libraries. They have also developed an arsenal of useful code and reusable ideas.
4) You will expand your knowledge of C++ to cover lesser-known and often misunderstood language features. You will gain an appreciation for object-oriented design and acquire top-notch debugging skills. Perhaps most importantly, you will finish this tutorials armed with a wealth of reusable ideas that can be applied to your actual daily work. Understanding the true workings of the language will improve the quality of your code. Learning about different programming methodologies and processes will help you to work better with your team. Discovering reusable libraries and common design patterns will improve your daily efficiency and help you stop reinventing the wheel.

Sure that all of these lessons will make you a better programmer and a more valuable employee.

let’s start reading cpp tutorials :)

The Basics of Programming Languages:

This section will cover the basics of programming language.

A CPU is unable to understand the C++ directly. It understands the instructions which is called machine code, or machine language, or an instruction set. These instructions are collection of binary digits (zero or one). Which are called as bits.

These binary digits are translated into instructions to do different actions like add two numbers and copy the data, place the data into the memory etc,

Writing the code in the machine level language is very difficult, to overcome the problem assembly language was introduced. Each instruction is write using mnemonics rather than bits. But, the CPU not able to understand assembly language directly. So translators are introduced to convert assembly language to machine level language.

The disadvantage of the Assembly language is the program written in one CPU will not run on another CPU. To overcome these problems high level languages are introduced.  C, C++, Pascal, Ada, Java, Javascript, and Perl, are all high level languages. Programs written in high level languages must be translated into a form that the CPU can understand before they can be executed.

By compiling and interpreting, the program will convert into the machine level code.

No comments: