Official Review
NULL
|
Other links at C and C++ > Tips and Tutorials > Miscellaneous |
| 1. |
Ip address of a computer using winsock
|
|
|
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.htmlIP Address Retrieval/a
|
| 2. |
Count Instances of Process or Application in C/C++
|
|
|
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.
|
| 3. |
Calculate Distance Between Two Points Using Longitude & Latitude
|
|
|
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.
|
| 4. |
Allegro Vivace
|
|
|
This is a comprehensive tutorial to guide newcomers to game programming and Allegro through the process of writing a simple game. Allegro is a game programming library.
|
| 5. |
Casting in C++
|
|
|
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.
|
|
|