C++ Tutorial. For Beginners

C++ Homework Help


     This usage-oriented online C++ tutorial is intended to help you get your C++ experience on the right foot. Using some Macromedia Flash animations where needed, you will find here all the required information to get efficiently started on your usage of C++ language, independently of the platform you are planning to use it on. After a short introduction aimed at getting you started with the required tools to write and build C++ code source into executable binaries, you will get thrown into the basics of C++ and its control structures, as an algorithmic starting point. Still oriented on the usability, you will be pointed, along with detailed explanations, to the C-style standard functions that can be used in your C++ source code to easien usual tasks. The tutorial will then lead you into the Object Oriented paradigm on C++ language, which will be a must-have in order to understand all the STL(Standard Template Library)-related info that you will find in the last part of this tutorial.

  After having followed this tutorial, you will be perfectly able to develop and understand Command-line applications written in C++.


  1. My first C++ Program - Create your first C++ program and learn about its structure: the main() function and the statements
  2. How to compile and run C++ programs - Learn how to write and compile C++ programs using different IDEs
  3. DEV C++ Tutorial - DEV C++ Tutorial .
  4. Visual C++ Tutorial  - Visual C++ Tutorial(Flash animation explain how to create and compile console C++ programs under Microsoft Visual Studio).
  5. Visual C++.NET 2003 Tutorial - Visual C++.NET 2003 Tutorial. Step by step animation use  

C++ Homework Help

Basics of C++

  1. Variables. Data Types - Learn about variables, constants, keywords, identifiers and fundamental data types
  2. Math Operations - Learn about operators precedence and language-specific operators
  3. Basic Input/Output - Use the basic I/O functions to communicate with the user
      Control structures
  4. Conditional structure: If / Else - Learn how to structure your programs using if/else and nested ifs
  5. Iteration structures
    1. For loop - The for structure and the infinite loop
    2. While loop - The while structure
    3. Do While loop - The do structure
  6. The selective structure: switch - Learn to avoid nested ifs by using the switch structure
  7. Function in C++ - Basic information about C++ functions: declaration, arguments, and parameter passing mechanism
      Compound Data Types
  8. Arrays - Learn to store data in simple or multidimensional arrays, as well as creating char strings
  9. Pointers - The basics of dynamic memory: pointers and dynamic arrays

  10. Data Structures - Learn to create your own data type
      C style functions in C++
  11. Char functions - Work with characters using the classical C-style functions
  12. String functions - Learn to manipulate strings using the functions in cstring
  13. Math functions - Automatically compute trigonometric, logarithmic, exponential and other functions using the standard cmath
  14. Random functions - Generate pseudo-random numbers based on the system clock
  15. Date and time - Learn to work with different date&time variables using the standard functions
      Object Oriented Programming
  16. Classes and Objects - Learn the basics of object-oriented programming: abstract data types, objects, classes, methods and properties
  17. Encapsulation : private, public and protected sections - Learn to mantain the integrity of the objects by encapsulating the data values and member functions
  18. Inheritance - Create your own class library (hierarchy of classes) and learn how objects inherit properties and methods from their parents

  19. Polymorphism and Virtual functions - Learn about abstract classes, virtual functions and operator and function overloading
      The Standard Template Library (STL)
  20. STL::cout - Learn to use the built in stream for standard screen output
  21. STL::ifstream - Learn to read data from plain text files
  22. STL::ofstream - Learn to save your application's data in plain text files
  23. STL::string - Learn about the standard string class and string-based operations
  24. STL::vector - Learn the most efficient way to implement arrays using the standard vector class
  25. STL::queue - Learn to use the standard queue class
  26. STL::<iomanip> Functions - Format the input/output of data using the built in manipulators

           Data Structures