 |
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
By Karpov2007
Last Message By shabbir
|
3 2,956 |
 |
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...
By Karpov2007
Last Message By rasd123
|
2 2,033 |
 |
Abstract
Introduction
1. Potential errors
2. How it all begun
3. Phantoms
4. Diagnosis of potential errors
Conclusion
References
By Karpov2007
Last Message By shabbir
|
1 2,612 |
 |
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...
By Sanskruti
Last Message By alvisnally
|
3 5,198 |
 |
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...
By Sanskruti
Last Message By msdnguide
|
6 4,355 |
 |
Virtual Destructor
Virtual Destructor is used to release the derived class objects in a proper order....
Consider an Example:
#include<iostream.h>
class Base
By seeguna
Last Message By Kailash
|
1 7,096 |
 |
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
By shabbir
Last Message By limon
|
13 6,226 |
 |
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...
By Sanskruti
Last Message By rahul.mca2001
|
1 2,627 |
 |
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...
By Mridula
Last Message By sathi
|
8 4,582 |
 |
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.
By Mridula
Last Message By rasd123
|
5 3,869 |
 |
Introduction
This article talks about all different usage of const qualifier in C++.
Background
Declaration:
Named constant or const variables
By Mridula
Last Message By peterdrew
|
15 4,549 |
 |
Introduction
This article talks about References in C++ with some examples.
Background
Reference:
A Reference is nothing but an Alias to an existing variable.
By Mridula
Last Message By shabbir
|
3 5,444 |
 |
Introduction
This article talks about Static in C++.
Background
Static Variables:
1. All static variables are stored in Data Segement.
By Mridula
Last Message By shabbir
|
6 4,074 |
 |
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...
By anjanesh
Last Message By radams
|
20 37,926 |
 |
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
...
By david_BS
|
0 862 |
 |
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 ...
By bashamsc
Last Message By shabbir
|
1 2,051 |
 |
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....
By pradeep
Last Message By rahul.mca2001
|
1 2,295 |
 |
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...
By ManzZup
Last Message By ssaikaruna
|
3 5,550 |
 |
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...
By Mridula
Last Message By shabbir
|
8 11,375 |
 |
This article talks about Association, Aggregation and Composition Relationships between classes with some C++ examples.
Background
Association is a simple structural connection or channel between classes and is a relationship where all objects have their own lifecycle and there is no owner. ...
By Mridula
Last Message By sriprasanna
|
8 89,016 |