Tutorial search

Tutorials
Stuff
Affiliates

Cool Stuff




The fastest way to master the basics of Adobe Photoshop

Click here to find out how

Photoshop Templates


Featured Photoshop templates - professional ready to use designs for your next project.

View all templates

Implementing associative arrays in C/C++ - C++ tutorial


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.
Category: C++ tutorials > Programming - Difficulty:


More cool C++ tutorials:



Fast Introduction to C++
Fast Introduction to C++
This tutorial makes very short introduction to C++ programming, covering only the very basics.
Category: C++ tutorials > Basics - Difficulty:
Advice and Warning for C
Advice and Warning for C
C is a powerful programming language, but not without risks. Without help, even experienced C programmers can find themselves in trouble, despite "careful" programming, lint filters and good debuggers. And managers of programming projects can discover too late that using C carelessly can lead to delayed and defect-ridden software. This tutor helps avoid problems by illuminating the dangers of C and describing specific programming techniques to make C programming both faster and safer.
Category: C++ tutorials > Programming - Difficulty:
Random number within a range
Random number within a range
Generating a random number in C++ is easy, but for generating one within a range you must use a little trick.
Category: C++ tutorials > Basics - Difficulty:
Break statement - C++
Break statement - C++
The break statement has two uses. You can use it to terminate a case in the switch statement.
Category: C++ tutorials > Basics - Difficulty:
Typecasting
Typecasting
Typecasting: making variables look like another data-type.
Category: C++ tutorials > Programming - Difficulty: