JavaClassCode.com

facebook twitter googleplus

C Tutorial

C Introduction Keywords and Identifier Variables and Constants C Data Types C Input/Output C Operators C Introduction Examples

C Control Flow

C if...else C for Loop C while Loop C break and continue C switch case C goto Control Flow Examples

C Functions

C Programming Functions C User-define Functions C Function Types C Recursion C Storage Class C Function Examples

C Programming Pointers

C Programming Pointers C Pointers & Arrays C Pointers and Functions C Memory Allocation Array and Pointer Examples

C Programming Strings

C Programming Strings C String Functions C String Examples

Structure and Union

C Structure C Struct and Pointers C Struct and Function C Unions C Struct Examples

C Programming Files

C Files Input/Output C Files Examples

Additional Topics

C Enumeration C Preprocessors C Standard Library C Programming Examples

C++ Tutorial


C++ is a general-purpose programming language and widely used nowadays for competitive programming. It has imperative, object-oriented and generic programming features. C++ runs on lots of platform like Windows, Linux, Unix, Mac etc.

C++ is an efficient and powerful language and finds wide use in various GUI platforms, 3D graphics and real-time simulations. Because of the inclusion of rich function libraries, working in C++ becomes simpler and convenient than C. Being object-oriented programming like Java, C++ provides the support of inheritance, polymorphism, encapsulation, etc. Unlike C, C++ allows exception handling and function overloading. Bringing in the important topics under one roof, this tutorial to C++ is a very efficient and convenient way to learn C++ from scratch.

Introduction to C++

  1. C++ was developed by Bjarne Stroustrup in 1979 at Bell Labs.
  2. It is a general purpose programming language which supports procedural, object-oriented and generic programming.
  3. The main purpose of C++ was to make writing good programs easier and more pleasant for the individual programmer.
  4. It is a high-level programming language, but it includes many low-level facilities to manipulate the computer's memory.
  5. It is the first Object-oriented programming language and most popular after C language.
  6. C++ is a superset of C.

Features of C++

  1. C++ is a compiled, case-sensitive, free-form programming language.
  2. It is used to write device drivers and other softwares.
  3. It is used for teaching and research because of clean basic concepts.
  4. It supports object-oriented programming including four features such as encapsulation, data hiding, inheritance, polymorphism.
  5. An Apple Macintosh or Windows has indirectly used C++ because the primary user interface of these operating systems are written in C++.