Errors in programming

An error in programming is something that is either written or executed incorrectly.  These errors can create problems in running a program properly. It is better to create error free programs, which everybody tries to achieve. Some errors can be seen by your naked eye, some can be caught by compilers, while some can be pretty hard to detect. These errors can affect your program adversely, by not giving you the desired output for a proper input. In that situation, it can take hours to days to get to know the error in the program. So, it is better to write the program carefully, than finding the error in your program later on.

Continue reading “Errors in programming”

Advantages of C++

C++ has now been in use in the industry for about four decades. C++ is powerful, fast and efficient language. Bjarne Stroustrup developed C++ in 1979 by while he started working on C with classes. He added object-oriented programming to the C language making it a superset of the C language.  The ++ ahead of C indicates that C++ is an increment over C. Till 1983, C++ was called C with classes, then it was renamed to C++. Let’s look over some of the advantages of C and then C++, which will help us to know the power of C++ over C.

Continue reading “Advantages of C++”

Introduction to C++

Learning a new programming language like C++ is an adventure in itself. It is similar to learning an instrument like piano, violin, guitar, etc. or gaining an athletic skill like playing baseball, volleyball, football, running, etc. or doing research in academics. Likewise, learning a new programming language like C++ requires time and practice. It takes more amount of effort in gaining expertise in the same.

Continue reading “Introduction to C++”