Main menu

Forums

C++ Tutorial

Welcome to C++4u.com

C++ for you is a web site designed to help students learn C, C++, Data Structures & Algorithm Analysis and related courses. We are creating a collection of links to best C++/C/C# tutorials, source codes, lecture notes, presentations,free books and animations available on the internet to help you in your study. Our team of C++ experts ready to answer your question in our forums.
Need C++ Expert Help? Click here
Good luck

Categories

C++ Compiling and debuging

C++ Compiling and debuging

C++ programming resources

Collection of C++ programming resources.

C++ Tutorials

C++ Tutorials. Collection of C++ tutorials.

C++ Source Code

C++ Source Code

Free C++ Source code collection

C++ Books Reviews

C++ Books Reviews You can find good C++ reference books and technical books for advanced C++ programmers, but precious few books that actually teach programming in C++.

Our Free C++ Tutorial
    Introduction
  • My first C++ Program - Create your first C++ program and learn about its structure: the main() function and the statements
  • How to compile and run C++ programs - Learn how to write and compile C++ programs using different IDEs
    1. Basics of C++
  • Variables. Data Types - Learn about variables, constants, keywords, identifiers and fundamental data types
  • Math Operations - Learn about operators precedence and language-specific operators
  • Basic Input/Output - Use the basic I/O functions to communicate with the user
    1. Control structures
  • Conditional structure: If / Else - Learn how to structure your programs using if/else and nested ifs
  • 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
  • The selective structure: switch - Learn to avoid nested ifs by using the switch structure
  • Functions - Basic information about C++ functions: declaration, arguments, and parameter passing mechanism
    1. Compound Data Types
  • Arrays - Learn to store data in simple or multidimensional arrays, as well as creating char strings
  • Pointers - The basics of dynamic memory: pointers and dynamic arrays
  • Data Structures - Learn to create your own data type
    1. C style functions in C++
  • Char functions - Work with characters using the classical C-style functions
  • String functions - Learn to manipulate strings using the functions in cstring
  • Math functions - Automatically compute trigonometric, logarithmic, exponential and other functions using the standard cmath
  • Random functions - Generate pseudo-random numbers based on the system clock
  • Date and time - Learn to work with different date&time variables using the standard functions
    1. Object Oriented Programming
  • Classes and Objects - Learn the basics of object-oriented programming: abstract data types, objects, classes, methods and properties
  • Encapsulation : private, public and protected sections - Learn to mantain the integrity of the objects by encapsulating the data values and member functions
  • Inheritance - Create your own class library (hierarchy of classes) and learn how objects inherit properties and methods from their parents
  • Polymorphism and Virtual functions - Learn about abstract classes, virtual functions and operator and function overloading
    1. The Standard Template Library (STL)
  • STL::cout - Learn to use the built in stream for standard screen output
  • STL::ifstream - Learn to read data from plain text files
  • STL::ofstream - Learn to save your application's data in plain text files
  • STL::string - Learn about the standard string class and string-based operations
  • STL::vector - Learn the most efficient way to implement arrays using the standard vector class
  • STL::queue - Learn to use the standard queue class
  • STL::<iomanip> Functions - Format the input/output of data using the built in manipulators
  • Links


    Top Categories