Tips and Tutorials related scripts & softwares
This snippet focuses on the uses of the STL deque class in a recursive algorithm, namely to solve a maze.
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>
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.
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.
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.
A tutorial to help C++ programmers who are new to DirectX get acquainted with the libraries, in particular DirectDraw and DirectInput.
This tutorial will teach you how to create some graphics over C++ and Pascal. It requires some programming knowledge.
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.
This tutorial by Rob Thougher explains how to create a simple server and client using sockets.
Socket programming in MFC is usually a bit messy. It's always clean and convenient to write the socket programs using Win32.
A big advantage writing these programs in Win32 is, we can follow the same model as in any Unix C++ socket program. Also, with each and every new version of Winsock, we don't know how many bugs are going to get added to the development frameworks.
|