C++ Programming Tutorials

C++ Programming Tutorials And Articles
  Title / Author Replies
Views
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
4,491
Abstract Introduction Analysis of program code Examples of incorrect and vulnerable code Diagnosis of vulnerabilities in 64-bit code Conclusion References Abstract
1
3,256
Introduction This article explains about Callbacks and implmentation of it using below 3 different methods: Static Functions Non-Static or Member Functions Functor or Function Objects. Background
1
10,484
Introduction This article talks about ASSERTs usage and customizing our own ASSERTs. Background Asserts are to catch implementation errors. The developer can document all the assumptions made on the his/her program, by using ASSERTs. If you have used asserts in your code and if it...
8
15,030
Code for LinkList in C++ #include "LinkedList.h" /** * Construct the list */ template <class Object> List<Object>::List( ) {
4
35,013
Introduction List out all of the installed Windows Services In C++ The code #include <windows.h> #include <iostream.h> void ErrorDescription(DWORD p_dwError);
1
8,855
Introduction This article talks about Static in C++. Background Static Variables: 1. All static variables are stored in Data Segement.
6
6,887
Introduction Exception handling is a mechanism when a part of code detects exceptional suituation, it seperates the code where it detects and handles it seperately. This mechanism can be done differently in C and C++, ie eigther using setjmp()&longjmp() or Exception in c++ try/catch(...). ...
3
6,325
Introduction Many times you may have wondered how to return several values from a C++ function. I know it's easy for most of you when you know "how many" values your func is going to return. I have seen many people use std::pair to return two values from a func. But what about the case when you...
1
4,103
Here i am going to show you some basic C++ Programming... If you have any questions just ask. :) #include <cstdlib> // This must be used if you are going to be a MS-DOS Application. #include <iostream> // This must be included in the header file if you are going to use "Cout" and "Cin"...
20
10,036
Introduction This article talks about size of a class with all possible scenarios like having simple data (with and without structure padding), virtual functions, Replicated and Shared Multiple Inheritance etc. Background Size of a class object is nothing but it's non-static member data +...
7
45,185
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
14,895
Introduction Lagranges interpolation formula The code #include <stdio.h> #include <conio.h> #define N 100
7
6,615
Introduction Gauss-siedel method to solve system of equations :undecided The code #include <stdio.h> #include <conio.h> #include <math.h>
3
4,603
Abstract Introduction 1. Potential errors 2. How it all begun 3. Phantoms 4. Diagnosis of potential errors Conclusion References
1
4,053
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
7,357
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
14,182
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
9,214
Introduction This article talks a little bit about Smart Pointer conepts and then move on to Reference Counting. Then there is a smaple code to implement the same. Background Smart pointer or auto-pointer is a simple wrapper around a regular pointer, provides all meaningful operations to...
1
11,439
Introduction This article talks about how Virtual table and _vptr looks in case of simple Multiple Inheritance Background In Multiple Inheritance, the Derived class contains the _vptr of all it's Base classes. Lets see the below example, where-in, derived class i.e. Derive is derived...
1
14,624