Lost your password?

Don't have an account ?
Register (It's FREE) ×


CPP All : Topics Card View   

Introductory Sessions

Here are some write-ups and resources for you to understand the fundamentals of C++.

CN-2 QZ-2

Beginning to Program

your post contentThe typical hello world program and some variations of it can be learnt by you here.

CN-2 CS-5 SP-4 PP-2 QZ-1

Tokens Keyword and Identifiers

Some core programming elements of C++ are explained here.

CN-4 CS-1 SP-15 QZ-1

Data Types Variables and Constants

The resources for concepts related to Data types, variables and constant values are available in form of some explanatory coding problems

CN-4 CS-2 SP-4 QZ-1


To build formulas and expressions various operators have been explained with the help of code examples.

CN-1 CS-16 SP-6 PP-2 QZ-3

Simple User Input

C++ has simple technique of user input from standard input device which is a console.

CS-7 SP-3 QZ-1

Building Expressions and Formulas

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.

CS-8 SP-5

Simple Real World Problems

Real world problems like temperature conversion, salary calculation, number bricks in wall, paint amount calculation are resolved here.

CS-5 SP-1

Simple If and If Else

Here we learn programs based on simple if or if else selection constructs.

CS-13 SP-4

Multiple-Nested-Ladder of If Else

Here we learn to handle complex if-else conditions with multiple, nested or if else ladder.

CS-13 SP-2

Switch case selection

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.

CS-7 SP-4

Simple Loops

Taking repetitive action on a code piece using popular iteration or looping techniques such as for, while and do-while constructs.

CS-13 SP-14

Tricks in Loops - break continue scope

Things like break and continue are inherently available in loops concept. Loops also allow re-usable variables declarations inside the loop scope.

CS-6 SP-2

Loop Applications - Handling numerals

Using loops we can handle individual numerals of a any number for addition, extraction and other powerful operations.


Series printing loops

Loops or iteration techniques are often used for printing series of numbers with some specific logic for progression of numbers

CS-11 SP-8

Nested Loops

Use of loops within another loops for multilevel iteration and condition limits handling.

CS-3 SP-1

Pattern printing loops

Loops are frequently used for printing patterns made of number, alphabets and symbols in the form of rows and columns.

CS-13 SP-1

Number Varieties and Crunches

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.

CS-18 SP-6

String Handling (Null Terminated)

C style strings which are basically null terminated character arrays are still used quite often in C++.

CS-10 SP-14 QZ-2

Strings - string class type

string class acts like a primitive data type for handling strings in in c++ very conveniently


Functions (Built-in)

C++ libraries have many built in functions. Examples of some of the common built in functions are covered in this topic.

CN-2 CS-12 SP-20

Functions - user defined

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.

CS-11 SP-15 QZ-2

Functions Reference Passing/Returning

Function can be called by passing variables as reference or they may return references themselves.

CS-11 SP-14

Arrays Concepts and 1-D Arrays

Similar data types can be grouped and stored linearly in arrays. Some basic concepts and programs for 1 dimensional arrays are listed here.

CS-12 SP-14

Two dimensional arrays and Matrices

Keeping data in row column format and as matrices is explained here.

CS-10 SP-13

Structures Basics

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.

CS-10 SP-7

Structures passing/returning

Structures as a whole can be passed to function like a user defined data type. Functions can also return structures.

CS-3 SP-5

Display Using IO Manipulation

The display resizing using iomanip library functions are explained here.

CS-4 SP-1

Display Using C Formatting Tricks

The C formatting tricks commonly used in print are sometimes handy for C++ also.

User Defined Data Types

Use of typedef keyword for defining user’s own data type name

CS-3 SP-3

Enumerated Types

Understanding how integer or boolean values can be assigned to a set of names

CN-1 CS-3 QZ-1

Preprocessor Directives And Macros

Use of # sign to give pre-processing instructions like include, define or setting replacement macros.

CN-3 CS-5 SP-15 QZ-1

Exception Handling

Finding possible execution errors that are thrown by the compiler, using try, catch construct.

Programming Paradigms and OOPs Advantages

Understanding various types of programming models and the advantages of Object Oriented Programming.

CN-1 SP-1 QZ-2

Abstraction and Encapsulation

Understanding how data is hidden and only relevant portion is shown and how members are grouped as a class.

CN-1 QZ-1


Implementation of Functions of same name with different input parameters

CN-1 CS-3 QZ-1


Concept of extending class templates for specific functionality.

CN-1 CS-2

Function Overloading Concepts

Some conceptual example function overloading.

CN-2 CS-4 SP-1 QZ-1

Function Overloading Varieties

Understanding different varieties of function overloading for types of parameters and count of parameters.


Function Overloading Special Cases

Function overloading cases with default arguments and related ambiguity.

Defining Classes

Understanding how classes and their components like data members and member methods are defined.

CN-1 SP-8

Creating and Using Class Objects

Creating class objects locally or globally and then using them effectively


Copy Constructor

CN-1 CS-4 SP-3

Data File Concepts

Understanding data files related classes, types of classes, opening and closing methods etc.

CS-3 SP-1

Handling Text Files

Text files handling for reading, writing and end of file detection


Pointer Concepts

Basic concepts of how pointers are managed in c++


Pointer and Arrays

Pointer has a close relationship with concept of arrays, Let us learn it with some examples.


Pointers and Functions

Pointers can be passed to functions or returned from it.

Object Pointers

Any object can also have pointer or address references.

This Pointer

A special way of allocating pointing within shared instance and particular instances.