|
Scripts > C and C++ > Tutorials > Miscellaneous
|
1. Using the Deque class in Recursive Algorithms
|
This snippet focuses on the uses of the STL deque class in a recursive algorithm, namely to solve a maze.
Hits: 2 Rating: 0.00 Votes: 0
|
| Member Reviews |
 |
Visitor Ratings |
 |
Google PR |
 |
|
|
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.
Hits: 2 Rating: 0.00 Votes: 0
|
| Member Reviews |
 |
Visitor Ratings |
 |
Google PR |
 |
|
|
3. 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.html>IP Address Retrieval</a>
Hits: 2 Rating: 0.00 Votes: 0
|
| Member Reviews |
 |
Visitor Ratings |
 |
Google PR |
 |
|
|
4. How to generate true random numbers
|
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.
Hits: 2 Rating: 0.00 Votes: 0
|
| Member Reviews |
 |
Visitor Ratings |
 |
Google PR |
 |
|
|
5. C# Version 2.0 Specification
|
C# 2.0 introduces several language extensions, the most important of which are Generics, Anonymous Methods, Iterators, and Partial Types. The language extensions in C# 2.0 were designed to ensure maximum compatibility with existing code. For example, even though C# 2.0 gives special meaning to the words where, yield, and partial in certain contexts, these words can still be used as identifiers. Indeed, C# 2.0 adds no new keywords as such keywords could conflict with identifiers in existing code.
Hits: 2 Rating: 0.00 Votes: 0
|
| Member Reviews |
 |
Visitor Ratings |
 |
Google PR |
 |
|
|
6. 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.
Hits: 3 Rating: 0.00 Votes: 0
|
| Member Reviews |
 |
Visitor Ratings |
 |
Google PR |
 |
|
|
7. 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.
Hits: 2 Rating: 0.00 Votes: 0
|
| Member Reviews |
 |
Visitor Ratings |
 |
Google PR |
 |
|
|
8. Game Programming in C
|
There are a number of tutorials available for the intermediate game programmer, but there are very few good tutorials for beginners who have never drawn a pixel on the screen. A quick search on the net reveals hundreds of sites devoted to 3D, polygons, texture- mapping and other advance topics, but the beginner has no where to get started. This tutorial is for C programmers who want to start learning game programming.
Hits: 2 Rating: 0.00 Votes: 0
|
| Member Reviews |
 |
Visitor Ratings |
 |
Google PR |
 |
|
|
9. DirectX Programming
|
A tutorial to help C++ programmers who are new to DirectX get acquainted with the libraries, in particular DirectDraw and DirectInput.
Hits: 2 Rating: 0.00 Votes: 0
|
| Member Reviews |
 |
Visitor Ratings |
 |
Google PR |
 |
|
|
10. The VGA Training Program
|
This tutorial will teach you how to create some graphics over C++ and Pascal. It requires some programming knowledge.
Hits: 2 Rating: 0.00 Votes: 0
|
| Member Reviews |
 |
Visitor Ratings |
 |
Google PR |
 |
|
|
|