Tutorial search
C++ Tutorials
Tutorials
Stuff
Affiliates
Photoshop Templates
Featured Photoshop templates - professional ready to use designs for your next project.
View all templates
C++ Programming Tutorials
We hope that you will enjoy our C++ Programming tutorials. Feel free to contact us if you would like to be a tutorial hero and contribute your own C++ Programming tutorials to our site. Thank you !
OpenCV is an open source computer vision library developed by Intel. This library is written in C/C++ and it has lot of very powerful image processing features. This tutorial describes how to install OpenCV and how to configure Visual Studio 2005 to work with OpenCV

When defining variables you can choose between scalar number and arrays. Arrays in C# are declared by adding a set of square brackets to the end of the variable declaration. All members of an array must be of the same type. You cannot have different types in an array.

A regular expression’s use is for finding substrings in a large string expression. It supports the use of various wild cards and other very useful techniques for performing the required actions. The namespace System.Text.RegularExpressions contains a number of classes associated with regular expressions.

Sequential lists are collection of objects that can be entered or extracted in a sequential way. They don’t provide access to objects in the middle on the list. You can only access a specific object each time you extract it. The two classes named “Queue” and ”Stack” which belong to the “System.Collections” namespace provide you with this kind of functionality, each of them in a slightly different way. The Queue class offers you access to the first object on the list, whereas the Stack class offers you access to the last object on the list. By first and last we mean the first and last object that entered the list. So, the Queue class is a First-in, First-out collection(FIFO Collection) whereas the Stack class is a Last-in, First-out(LIFO Collection). In this tutorial you will create and use both classes to see how they behave when entering and extracting data. You will usually work with such collections with temporary and disposable data. For a more permanent use, arrays provide much better functionality.

Unauthorized access of sensitive data must be prohibited in a business application. Unauthorized users must not be able to view other people’s information. In a windows program, sometimes it is necessary to provide different information in guests and users. A guest should not be able to see important data of the program’s flow. The authentication methods require the System.Security.Principal namespace.

Reference types provide excellent flexibility and performance of large structures. This is the reason that classes are reference types and structs are data value types. As you will probably know, reference types do not store the actual value of the object but a pointer to a memory location. This pointer is stored on the stack whereas the object itself is located in the managed heap.

To read some text from the command line you use the Console.Read or Console.ReadLine method implemented in the .net framework. The difference between them is that the Console.Read method reads the next character from the command line, whereas Console.ReadLine reads the next line of characters instead of just a simple character. The Console.Read method returns an integer and should be cast to a char during the input. There is also a special function called Console.ReadKey( Boolean display) which obtains the key that is pressed on the keyboard and if the display parameter is false it depicts it.

SWIG(Simplified Wrapper and Interface Generator) is a software development tool , an interface compiler that connects programs written in C and C++ with a variety of scripting languages such as Perl, Python, Ruby, and Tcl and also non-scripting languages such as C#, Common Lisp (CLISP, Allegro CL, CFFI, UFFI), Java, Lua, Modula-3, OCAML and R. . "Scripts" are often treated as distinct from programs which execute independently from any other application.

This tutorial will teach you how to overload most of the operators available in C++, including arithmetic and comparison, in order to create a class that is able to calculate rational numbers.

A quick video tutorial to show you how to make and utilize your own custom emotions in MSN Messenger, just by using flash.

The second tutorial in my series, be sure to check out the programming section on my forums at http://NextGenScene.net

First tutorial in a series of c++ lessons. I am hoping to release enough tutorials so that you will have the opportunity to learn how to program a full direct3d game.

Most of beginners define arrays of limited size such as:
int array[100]; // array that can accomodate 100 integer values
These are ok, but your requirement may be different, and you want your application to determines the size of array at runtime, so if your requirement is to use 10 elements only, that means 90 are unused but memory is still allocated for them while application is running. On other hand your application requires 110 elements to be saved, the last 10 will be unallocated spaces if array size is 100, and access to unallocated memory address may result in applciation crash and/or system level damage.
int array[100]; // array that can accomodate 100 integer values
These are ok, but your requirement may be different, and you want your application to determines the size of array at runtime, so if your requirement is to use 10 elements only, that means 90 are unused but memory is still allocated for them while application is running. On other hand your application requires 110 elements to be saved, the last 10 will be unallocated spaces if array size is 100, and access to unallocated memory address may result in applciation crash and/or system level damage.

This article demonstrates using string/char* indexes in regular C array, e.g. myArray["age"]=10;
We usually use numaric indexes in arrays with C and C++. But there can be another way of using C / C++ arrays like in PHP, e.g.
We usually use numaric indexes in arrays with C and C++. But there can be another way of using C / C++ arrays like in PHP, e.g.

This tutorials introduces you to the C++ Standard Template Library (STL) including how to use I/O streams, file streams, string streams, strings, vectors, lists, maps, iterators, and algorithms.
Total Tutorials in Category: 51





