Displaying posts tagged with

“C++”

Jul
15
2009

Two values one address—A challenge for programmers

Have a look at this code, it shows some astonishing results.

1: #include <iostream.h>

2: using namespace std;

3: 

4: int main()

5: {

6: const int x = 10;

7: int [...]

Jun
4
2009

Generating Documentation from XML Comments in C#

C# allows developers to embed XML comments into their source files—a useful facility, especially when more than one programmer is working on the same code. The C# parser can expand these XML tags to provide additional information and export them to an external document for further processing. This article shows how to use XML comments [...]

May
24
2009

Callbacks, Threads and GUI

This article assumes that you have a working knowledge of C++ callbacks. Recently me and a friend encountered a situation where we had to show some data on dialog box that was generated inside of an independent thread. Sharing memory can be a good idea of passing a pointer to the dialog box. However, we [...]

May
24
2009

Callbacks C++

This tutorial assumes that the reader has a basic knowledge of C++ function pointers and pointers to class member functions.
Callback function
A callback function is a function whose pointer is passed to another function and and that function calls the first function using the pointer. When such a call is made, it is said that [...]

May
1
2009

Linked List: Tutorial I

Although linked lists sounds kind of scary, don’t worry they are really easy to use once you’ve got a little practice under your belt! Linked lists form the foundation of many data storing schemes in my game!
They are really nice when you don’t know how many of a data type you will need, and [...]

Apr
29
2009

Windows Forms: Getting Started II

This tutorial contains some basic topics regarding getting started with  windows forms.
Share on Facebook

Apr
29
2009

Windows Forms: Getting Started I

This tutorial contains some basic topics regarding getting started with  windows forms.
All the data is courtesy MSDN.
Share on Facebook