Here are some write-ups and resources for you to understand the fundamentals of C++.
your post contentThe typical hello world program and some variations of it can be learnt by you here.
Some core programming elements of C++ are explained here.
The resources for concepts related to Data types, variables and constant values are available in form of some explanatory coding problems
To build formulas and expressions various operators have been explained with the help of code examples.
C++ has simple technique of user input from standard input device which is a console.
Simple mathematical problems of simple interest, area and circumference of circle, area of triangle etc. are solved here to explain you how java programming can be effectively used for problem solving.
Real world problems like temperature conversion, salary calculation, number bricks in wall, paint amount calculation are resolved here.
Here we learn programs based on simple if or if else selection constructs.
Here we learn to handle complex if-else conditions with multiple, nested or if else ladder.
The switch case selection is a specially build construct to replace some cases of if-else-if nested/ladder constructs in a much more understandable and neat way.
Taking repetitive action on a code piece using popular iteration or looping techniques such as for, while and do-while constructs.
Things like break and continue are inherently available in loops concept. Loops also allow re-usable variables declarations inside the loop scope.
Using loops we can handle individual numerals of a any number for addition, extraction and other powerful operations.
Loops or iteration techniques are often used for printing series of numbers with some specific logic for progression of numbers
Use of loops within another loops for multilevel iteration and condition limits handling.
Loops are frequently used for printing patterns made of number, alphabets and symbols in the form of rows and columns.
Finding special types of numbers as odd, even, prime, palindrome, armstrong, keith, perfect number, smith etc. Also crunching like postive negative finding, digits finding, swapping, reversing, factoring etc.
C style strings which are basically null terminated character arrays are still used quite often in C++.
string class acts like a primitive data type for handling strings in in c++ very conveniently
C++ libraries have many built in functions. Examples of some of the common built in functions are covered in this topic.
One can write functions in c++ to increase modularity and reuse of code. Functions are also called methods specially when they are written inside the classes.
Function can be called by passing variables as reference or they may return references themselves.
Similar data types can be grouped and stored linearly in arrays. Some basic concepts and programs for 1 dimensional arrays are listed here.
Keeping data in row column format and as matrices is explained here.
Structures are a way to group different data types as one entity. This concept has given birth to concept of classes which is more used in practice in modern times.
Structures as a whole can be passed to function like a user defined data type. Functions can also return structures.
The display resizing using iomanip library functions are explained here.
The C formatting tricks commonly used in print are sometimes handy for C++ also.
Use of typedef keyword for defining user’s own data type name
Understanding how integer or boolean values can be assigned to a set of names
Use of # sign to give pre-processing instructions like include, define or setting replacement macros.
Finding possible execution errors that are thrown by the compiler, using try, catch construct.
Understanding various types of programming models and the advantages of Object Oriented Programming.
Understanding how data is hidden and only relevant portion is shown and how members are grouped as a class.
Implementation of Functions of same name with different input parameters
Concept of extending class templates for specific functionality.
Some conceptual example function overloading.
Understanding different varieties of function overloading for types of parameters and count of parameters.
Function overloading cases with default arguments and related ambiguity.
Understanding how classes and their components like data members and member methods are defined.
Creating class objects locally or globally and then using them effectively
Understanding data files related classes, types of classes, opening and closing methods etc.
Text files handling for reading, writing and end of file detection
Basic concepts of how pointers are managed in c++
Pointer has a close relationship with concept of arrays, Let us learn it with some examples.
Pointers can be passed to functions or returned from it.
Any object can also have pointer or address references.
A special way of allocating pointing within shared instance and particular instances.