C++ Programming Tutorials

C++ Programming Tutorials And Articles
  Title / Author Replies
Views
Annotation. Program errors occurring while porting C++ code from 32-bit platforms on 64-bit ones are observed. Examples of the incorrect code and the ways to correct it are given. Methods and means of the code analysis which allow to diagnose the errors discussed, are listed. This text is an...
1
8,668
Introduction This article talks about Handle-Body pattern and it's uses. Background Though, C++ provides private and public access specifiers to differntiate implementation and interface parts of a class, down the line any changes to the private data or member functions implementation...
6
12,225
Introduction This talks about Virtual Friend Function in C++. Background Friend functions are not in-herited in C++. So, to achieve dynamic binding with friend functions, we have to make the interfaces as virtual (make it as protected part of class) to operate within the friend function....
1
7,293
Introduction This article talks about Virtual Table and _vptr in Replicated Multiple Inheritance and in Virtual Base Class (or Shared Multiple Inheritance). Here it is explained using an example: In this example, we have Base1, Base2, Base3 and Derive classes, where Base2 and Base3 classes...
4
5,581
Introduction Code for solving system of equation by Gaussian elimination method. The Code is well commented and would not need any further explanation The code #include <stdio.h> #include <conio.h> #define N 100
10
12,967
Introduction Gauss-siedel method to solve system of equations :undecided The code #include <stdio.h> #include <conio.h> #include <math.h>
3
3,936
Introduction Lagranges interpolation formula The code #include <stdio.h> #include <conio.h> #define N 100
7
5,562
Abstract Introduction 1. Potential errors 2. How it all begun 3. Phantoms 4. Diagnosis of potential errors Conclusion References
1
2,997
Abstract Introduction The first step 64-bit mode can be different. Let's sort it out The second step. Find out if you need the 64-bit version of your product Applications' life-cycle duration Resource-intensiveness of an application Development of libraries Dependence of your product...
1
2,915
Abstract Introduction Analysis of program code Examples of incorrect and vulnerable code Diagnosis of vulnerabilities in 64-bit code Conclusion References Abstract
1
2,310
Introduction This article tries to cover all about Arrays like from it's definition till it's usage using a single dimension. Background Definition An array is a built-in Data Structure that holds a sequence of variables of same data type, that are stored in a contiguous memory...
8
5,771
Introduction This article talks about References in C++ with some examples. Background Reference: A Reference is nothing but an Alias to an existing variable.
3
6,291
Abstract In this article, Anatoliy Kuznetsov answers the questions and tells us about the open BitMagic C++ Library. Introduction While regularly looking through the Internet-resources related to the sphere of 64-bit programming, I often came across mentioning about BitMagic C++ Library...
2
2,516
Introduction This article talks about keyword explicit in C++. Background Constructors are functions with the same name as the class. They are used to create the instance of a class. They are provided default by the compiler. But still user can have his/her own constructor declared. We can...
3
25,468
Introduction This article talks about Structures in C/C++. Background Definition Structure is a collection of variables of potentially different types, grouped together under a single name, for ease of handling.
4
4,271
C++ FAQ's I've spent the past few weeks learning C++, and here are a bunch of FAQ's I came up with. Some of these Q n A's are from various sources, but I have edited and revised them using my own words. What is C++? C++ is a computer programming language. Its name is literally...
2
2,956
Introduction This article talks about Enumerated Data Types and set of guidelines in using them. Background Definition: An Enumerated Type is a user defined data type that maps set of names to numeric values called Enumerators. Enums are generally used when we know all the possible...
1
6,518
Templates is a concept which enable us to define generic classes and functions and thus provides support for generic programming. Generic programming is an approach where generic types are used as parameters in algorithm so that they work for variety of suitable data types and data structures. A...
2
3,271
In the previous article I explained you about the Templates in C++. C++ comes with the Standard Template Library, or STL, which includes many different types of containers, each with its own set of advantages (and disadvantages). The C++ Standard Template Library is a very large library of...
1
2,482
To the programmers it is very common concept that bugs are of two types i.e logical errors and syntactic errors. Poor understanding of the problem and solution procedure leads to logical errors whereas, the syntactic errors arise due to poor understanding of the language itself. We can detect these...
1
2,240