| |
| |
Direct X and Game Programming tutorial start by giving an overview of directx and then tell you how to program Direct x in C/C++. Also includes a nice example of how to start developing.
|
|
|
| |
| |
This is a simple introduction to making multi-platform games with the SDL.
|
|
|
| |
| |
In this tutorial we will try to learn how to write simple files in C language. Writing/Reading the Text is very important for large-scale data processing. We will see how numbers, C++ objects, formatted text is stored in files. We will also learn how to write binary and Character Files.
|
|
|
| |
| |
This is a complete File I/O tutorial that starts with the very basics, and goes to the advanced topics. Includes many code examples.
|
|
|
| |
| |
This snippet focuses on the uses of the STL deque class in a recursive algorithm, namely to solve a maze.
|
|
|
| |
| |
This article describes how to count the number of instances of a process that are currently running on the system. It is written in C++ for Windows, but could be ported to other systems and languages easily. (Linux, Visual Basic/VB, C, Unix, MacOS) The system just needs to support interprocess semaphores. The idea can be extended to count any resource, such as a thread, file, data structure, or network object.
|
|
|
| |
| |
There is a function gethostbyname for getting the ip address using Winsock. This function will retrieve the ip address details into a variable of type 'structure hostent'. Read for more info at <a href=http://www.codersource.net/win32_socket_ip_address.html>IP Address Retrieval</a>
|
|
|
| |
| |
The rand() function in C/C++ and other languages gives predictable results. This guide shows you how to use atmospheric radiation to generate really random numbers.
|
|
|
| |
| |
Tutorial and sample codes to calculate the distance between two locations. Free sample source codes in PHP, ASP, ColdFusion, C/C++, C#, Java, Perl, Visual Basic and Javascript. Longitude and latitude for United States ZIP Code and Canadian Postal Code are available in database subscription.
|
|
|
| |
| |
The new C++ standard is full of powerful additions to the language: templates, run-time type identification (RTTI), namespaces, and exceptions to name a few. This tutorial discusses one of the minor extensions: the new C++ casting operators.
|
|
|
| |
|