Programming
Tips & Tricks

Home | OpenGL Tutor | Programming | Links | Docs

Comments? Suggestions? E-Mail me at vandals1@home.com

Client / Server Demo
If you are interested in learning Winsock this is the demo for you. Its simple and striaght forward so it will be easy to understand. In this demo I create a simple echo server and client that will send data to it. When the server recieves the data from the client it will send it right back. After the client sends its data it waits for the server to respond. There are binaries for the client and server along with source.
Hash Table
Hash tables allow us to retrieve information from a large data array very quickly. Rather than searching through the entire array with a binary search or something of that nature we can generate hash value which will be an index into our data array. With this index we can get the information that we are searching for quickly. Hash tables can be used for consoles in games, valid commands for a client server application, databases or a dictionary. This hash table example demonstrates the use of the table in a console which accepts commands. Some of the concepts that are covered by this application are: hashing, linked lists and function pointers.

Linked List

If you don't know how to use linked lists you shouldn't be calling yourself a programmer ;) All joking aside linked lists are possibly one of the most important things that I have learned to use in my programming. Their use covers a broad spectrum of applications from games, web servers, business applications and anything else you can think of. Their wide use makes them a very important concept in the programming world. In this example I try and outline the basic use of a linked list.

 

Why did I create this page?

I created this page so that I could share the knowledge that I have gathered from my programming experiences. I am by no means an expert at any of this, I am posting these examples so others can learn and so I can learn from any mistakes I make. If you would like to see something on this page or if you have an example you would like to share please E-Mail me and I will do my best to get it posted.