C++ Programming Tutorials

C++ Programming Tutorials And Articles
  Title Reverse Sort Order / Author Replies
Views
Abstract Introduction Logical errors Missing /openmp Missing parallel Missing omp Missing for Unnecessary parallelization Incorrect usage of ordered Redefining the number of threads in a parallel section
3
3,602
Abstract Introduction Building of the 64-bit version of Loki in Microsoft Visual Studio 2005 Testing of the 64-bit Loki version with the help of Viva64 Incorrectly used constant LONG_MIN Some types of magic numbers - errors or not? Addition of int to a pointer as a potential error Using...
2
2,472
Abstract Introduction 1. Potential errors 2. How it all begun 3. Phantoms 4. Diagnosis of potential errors Conclusion References
1
3,000
Introduction Object-oriented programming (OOP) is a programming language model organized around "objects" rather than "actions" and data rather than logic. Historically, a program has been viewed as a logical procedure that takes input data, processes it, and produces output data. The...
3
6,304
Introduction In C++ programs there is use of common data structures like stacks, queues and lists. A program may require a queue of customers and a queue of messages. One could easily implement a queue of customers, then take the existing code and implement a queue of messages. The program...
6
4,881
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,747
Introduction A C++ class with lots and lots of comment on each line for you to understand what each line does and how the program flow works. The Code #include <iostream> // Included for cout
13
6,615
Introduction Variables are seen as memory cells that can be accessed using their identifiers. This way we did not have to care about the physical location of our data within memory, we simply used its identifier whenever we wanted to refer to our variable. The memory of your computer can be...
1
3,023
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,800
Introduction This article talks about Multi-Dimensional Arrays in C/C++. About 1-Dimensional Array see All about Arrays in C/C++ - Part I Background Multi-Dimensional Arrays Multi-dimensional arrays are nothing but Array of Arrays.
5
4,571
Introduction This article talks about all different usage of const qualifier in C++. Background Declaration: Named constant or const variables
15
5,648
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,300
Introduction This article talks about Static in C++. Background Static Variables: 1. All static variables are stored in Data Segement.
6
5,058
All possible combinations of a string 1. Finds all possible cominations of a given string. The total number of combinations with recurrences is the factorial of the string length. 2. Have given the word 'post' as an example since if I included a cin >> word; then a user may unconscientiously...
20
40,102
This is a basic attempt to accomplish this, there is already a real big load of code about this matter... I wanted to use a different approach, I created 1 table that contains all the 256 bytes, and i used it to make the conversion.. you look at the code, better The tables ...
0
2,202
Another method for printing the date from starting to ending This method is useful if u r dealing with dates.If u want to do some operation using the date and then fetch another date and do vice versa it is useful. #include<iostream> #include<malloc.h> using namespace std; int ...
1
2,510
There are three techniques used to pass variables into a C or C++ functions. Pass by value C/C++ Pass a pointer by value C/C++ Pass by reference C++ only Pass by value The function receives a copy of the variable. This local copy has scope, that is, exists only within the function....
1
2,648
Had to have some days break off . So, lets move on, this time a little than practicals, but again these are more than important in solving the problems in the real world. As I said that will explain more about the different types of the data structures while we move on, here I'll explain 3 of the...
3
11,784
This tutorial will give you a basic overview on two of the most fundamental concepts in every programming language: Arrays and Strings. We will individually explain what arrays and strings are, why they are important, how to deal with them and how we can use them to perform certain functions. ...
0
1,022
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
12,864