Recently I needed some images to create a dataset for a project I am doing. While Flickr.com seemed to be the best source. All i needed to do was to put in a query and a large number of relevant images would show up. But downloading original images from Flickr.com can be bit of a [...]
21
2010
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 [...]
4
2009
3
2009
Reversing words in a string
Problem statement: Given a string you have transform the string such that the order of words in the string is reversed.
Input: This is a string
Output: string a is This
Share on Facebook
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 [...]
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 [...]
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 [...]
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 [...]