Monday, June 29, 2020

CHAPTER-1(PART1)

C++ is often considered as a first programming language to be learned. Because it is easy to learn. Our C++ PROGRAMMING blog has been designed in such a way that a newbie will be easily to learn the language.

C++ INTRODUCTION
  • C++ is an object oriented language. It is heavily influenced by C language. Any valid C program can be run as a C++ program.
  • C++ was developed by Bjarne Stroustrup in 1979.
  • Today most of the gaming libraries are written in C++
  • C++ is a middle level language. It has the features of High level language and also low level language.
  • The latest version C++ 17 was released on Dec 1st 2017.
  • “.cc” “.cpp” is the file extensions.
  • We shall learn about the latest features introduced from C++ 11 to C++ 17 in this blog.

C++ FEATURES
  • It is portable.
  • It has stronger type checking. Example, if a function is declared and it will accept int variable but in the declared function if you pass a float the compiler will give an error.
  • It is object oriented.
  • C++ is extensible; it means new features can be added easily.
  • New memory management features. Any dynamically allocated memory can be freed by calling free ().
  • C++ is platform independent. A program compiled and executed in one platform, same program can be used and compiled in another platform also.
  • Inline functions are available instead of macros.
  • C++ includes a Standard Template Library [STL]. This includes set of methods manipulating data structure.
  • C++ uses bottom up approach.









No comments:

Post a Comment

CHAPTER-2(PART -1 C++ Input Output)

 In C++ input and output occurs in stream of bytes. If the stream of sequence of bytes go from keyboard to the main memory is called as inpu...