C++ Programming Tutorials

C++ Programming Tutorials And Articles
  Title / Author Replies
Views
Function pointer - how to declare function pointer in structure and how it call ,see it. #include <stdio.h> #include <string.h> #include <stdlib.h> typedef struct strfunptr { float a; float b;
3
26,899
Virtual Destructor Virtual Destructor is used to release the derived class objects in a proper order.... Consider an Example: #include<iostream.h> class Base
1
7,848
Data Structures operations using STL(Standard Template Library) #include<iostream> #include<vector> #include<algorithm>// Included for Algorithmic functions such as sort,max_element,binary_search etc #include<stdlib.h> using namespace std; void main() { int i,number,array,choice,srch;...
3
5,929
This simple program explain you about how to use BitMap in Turbo C++. NOTE :Before Running this program you have to copy one file in your "bgi" directory. That file either you have to download from the net or i will provide you. The file name is "SVGA256.BGI". Copy this file at your " tc\bgi\...
3
10,319
1) This Simple program explain one of the use of this pointer in C++. 2) With the help of "this" pointer you can call as many as functions in a sequence. 3) This procedure is called function chaining 4) In this program i have used three different function and through main i have called all...
2
10,111
I posted a little about this in Sudoku Solving Program Using 'C' so that people could take a look at the solve part of the algorithm if they wanted. I was mid-development and this wasn't the part that was actually to change much except for a removal tweak of a magic number here and there. Since...
1
5,434
Certain applications need to invoke startup functions that run before the main program starts. For example, polling, billing, and logger functions must be invoked before the actual program begins. The easiest way to achieve this is by calling these functions from a constructor of a global object....
12
6,811
Q: What are traditional C++ (pre-standard) headers? A: The traditional C++ (pre-standard) headers define classes, values, macros, and functions in headers that have *.h extension. This includes non-standard STL headers with *.h extension (iostream.h, fstream.h, vector.h, etc.) and C headers with...
0
2,353