C++ Programming Tutorials

C++ Programming Tutorials And Articles
  Title Reverse Sort Order / Author Replies
Views
Insertion Sort like Bubble Sort & Selection Sort also uses the Array data structure. So let's see about the insertion sort, again a not-so-good sorting with some of uses of its kind and move onto a whole new brand of algorithms. Insertion Sort Like most of the sorting algorithms, this too has...
3
9,440
Abstract In this article, Anatoliy Kuznetsov answers the questions and tells us about the open BitMagic C++ Library. Introduction While regularly looking through the Internet-resources related to the sphere of 64-bit programming, I often came across mentioning about BitMagic C++ Library...
2
2,598
Introduction Lagranges interpolation formula The code #include <stdio.h> #include <conio.h> #define N 100
7
5,655
Introduction Code for LinkList in C++ The code #include "LinkedList.h" /** * Construct the list
4
33,394
In the previous article I explained you about the Templates in C++. C++ comes with the Standard Template Library, or STL, which includes many different types of containers, each with its own set of advantages (and disadvantages). The C++ Standard Template Library is a very large library of...
1
2,574
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)...
34
19,493
We have all been using screensaver's since the time we first entered the world of computers. Everyone of us must have thought how one can make a screensaver of his/her own. Screensavers were originally meant to prevent damage to phosphorus coated computer screens. Now they are mostly used for...
1
8,957
Original Non English Version here. For simple applications, it's enough just to rely on automatic memory management through local variables. But once the data become larger, it is no longer imperative to request memory from the heap and manage. Content Function Families Allocators ...
7
9,691
An interesting example where it is intercepted, as a test, the function STRLWR. I will take no credit out of the hook, since it is about a simple patch that I googled in like 5 seconds. What I will show is a pair of pictures at the respect. How the executable was compiled, so it will be MSVCRT DLL...
0
5,542
Just thought of having a simple example which has everything you need to know about the basics of C++. It has Inheritance, polymorphism, operator overloading, templates using friend as well as non-friend functions. #include <iostream> using namespace std; template <typename T> class Base {...
12
25,708
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...
0
1,407
Abstract Introduction 1. The result of porting to 64-bit systems 2. Program code optimization 3. Memory usage decrease Conclusion References Abstract
5
4,607
The size of a class can be changed simply by playing with the order of its members' declaration: struct A { bool a; int b; bool c; }; /*sizeof (A) == 12*/ On my machine, sizeof (A) equals 12. This result might seem surprising because the total size of A's members is only 6...
2
3,337
Many of us might have wondered at sometime or the other about how to pass a variable number of arguments to C++ functions : something like a printf function. I don't know how many are aware of this, so I decided to post an article on this topic. Background When a function is declared, the...
13
58,956
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...
0
1,488
Polymorphism is in short the ability to call different functions by just using one type of function call. It is a lot useful since it can group classes and their functions together. It is the most important part of Object-Oriented Programming. Polymorphism is the core of object-oriented programming...
1
12,425
Introduction This article talks about Function Object and it's uses over Function Pointers Background A Function Object, is an Object of a class that defines an operator () and can be called as a function. When a function object is used as a function, the function call operator() is...
3
5,652
Printing the date from starting date to ending date The program takes the starting date and ending date as inputs and prints the dates in between them.This program is useful if u r dealing with dates. The code I have used four date functions i.e date1() , date2() , date3() , date4(). When...
8
3,530
Introduction - What is priority Queue A priority queue is an abstract data type (ADT) supporting the following three operations: 1. Add an element to the queue with an associated priority 2. Remove the element from the queue that has the highest priority, and return it 3. (optionally)...
17
64,265
Problems of testing 64-bit applications. Andrey Karpov Evgeniy Ryzhkov http://www.Viva64.com March 2007 Abstract. The article observes some questions related to testing the 64-bit software. Some difficulties which a developer of resource-intensive 64-bit applications may face and the...
6
3,979