C++ Programming Tutorials

C++ Programming Tutorials And Articles
  Title / Author Replies
Object oriented programming is a design philosophy. In programming paradigm, object oriented programming is the process by which a problem is decomposed into a number of entities called object and then data and functions are built around these objects. The main advantages of OOP are: ...
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\...
Introduction List out all of the installed Windows Services In C++ The code #include <windows.h> #include <iostream.h> void ErrorDescription(DWORD p_dwError);
This is just for a kind of information. Here I am going to explain how to make a class so that user can create object of it on free List( heap memory) or Stack. Example 1: Object should be created Only On Heap memory.Idea is that make constructor as private so that no one create on stack....
Steps to integrate code into your programs This is an easy and flexible way to use bitmaps as buttons in your application, and here are the detail steps of how you can add the custom button to your application. Create a new MFC AppWizard (exe) based project and name it as BtnSample ...
Annotation. The article may be interesting for developers who use or plan to use OpenC++ library (OpenCxx). The author tells about his experience of improving OpenC++ library and modifying the library for solving special tasks. Introduction. Introduction. One may often here in forums that...
This is very simple if you think in a simple manner. A magic square is represented in a matrix form. May be all of you know this formula to satisfy magic square rule i.e. for size of matrix n*n sum of each row or column or diagonal should be n/2. means for n=3 , sum(row or column or diag)...
I thought of starting the whole algorithm series with the most popular Sorting algorithms. Sorting as you know is a way to order a list or a sequence or elements. ex: Arranging set of marks to ascending order Arranging names to alphabetical order Why learn Sorting when sort() is readily...
In this article we are going to explain some of the most fundamental but often neglected concepts of C++ programming language. These concepts are extremely interesting and if employed well, can solve complex mathematical problems. So, without wasting any more time, let us jump to the first concept...
Making a Phone Book application in C++ is interesting; because it lets you learn the language practically. Making sample applications in any programming language is an interesting job. And this is perhaps the best approach to learning any programming language. As a programmer, your goal is to...
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
When exceptions occur, the programmer has to decide a strategy according to which he would handle the exceptions. The strategies could be, displaying the error messages on the screen, or displaying a dialog box in case of a GUI environment, or requesting the user to supply better or simply...
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
Background I happen to manage many sites this days and so at times I need to upload lots of things to my servers and when uploading from windows PC to Linux servers the biggest problem that comes up is the case sensitive issues and so I tried googling it but what I found are some cool utilities...
Code for LinkList in C++ #include "LinkedList.h" /** * Construct the list */ template <class Object> List<Object>::List( ) {
Level: Beginner, Test environment: WinXP SP3 This tutorial is going to teach you how to make a 'DLL wrapper'. Wrappers are own versions of known DLL's. In this case we're going to make a wrapper of a very known DLL known as PSAPI.DLL. If you don't know it then find the information somewhere XD....
LEVEL: BEGINNER, Test Environment: WinXP SP3 This is a demonstration of how Opengl32 with GPA can be applied an IAT HOOK to intercept functions in a process. In this case, it is about an EXE which uses some functions from Opengl32 to create a window and render an image. ...
Operator overloading is an extremely exciting feature of C++ language that allows you to simplify complex code into more readable and easy to understand code. For example what if we want to add two objects? Usually we will define some addition function that takes object to be added as a parameter...
Programs you code reside in random access memory or commonly known as RAM. RAM is also known as volatile memory space. What happens is that when you run a program, your CPU selects corresponding files to execute from your hard drive and loads it into memory. A problem here arises that the data of...
Concurrency in applications is the ability of the application to have more than one independent execution path and still work for the common goal. This implies that the independent execution paths need to communicate with each other while getting executed. Here for the simplicity of the discussion...