Library tutorials & articles tagged with c++
-
Typical errors of porting C++ code on the 64-bit platform
by Andrey Karpov
Program errors occurring while porting C++ code from 32-bit platforms on 64-bit ones are observed. Examples of the incorrect code and the ways to correct it are given. Methods and means of the code analysis which allow to diagnose the errors discussed, are listed.
-
The forgotten problems of 64-bit programs development
by Andrey Karpov
Though the history of 64-bit systems development makes more than a decade, the appearance of 64-bit version of OS Windows raised new problems in the sphere of development and testing applications. In the article there are considered some mistakes connected with 64-bit C/C++ code development for Windows.
-
Common Intermediate Language
by Granville Barnettt
Granville gets down with the CLR, and takes a look at CIL/MSIL - the intermediate language that every .NET language gets compiled to, and has full access to the capabilities of the CLR.
-
An Introduction to Genetic Algorithms
by Rob Bickel
A brief introduction to the field of Genetic Algorithms including sample C++ code
-
How the .NET Debugger Works
by Jon Shute
In theory the .NET debugging API is simple and a joy to use, but there is a lack of a detailed overview as to how to use it in the framework SDK. In this article, we'll cover how to write a debugger under .NET, and will also touch on the profiling API support.
-
How to PING
by Randy Charles Morin
Introduces Internet Control Message Protocol (ICMP) and how to generate ICMP packets to send a "ping" in C++.
-
Hosting Control Panel Applets using C#/C++
by Mark Belles
Check out this article which describes how to enumerate and host Windows Control Panel Applets using C# and unmanaged C++.
-
Business logic processing in a socket server
by Len Holgate
To maintain performance a socket server shouldn't make any calls that should block from its IO thread pool. In this article we develop a business logic thread pool and add this to the server developed in the previous article.
-
Handling multiple socket read & write operations
by Len Holgate
"How do you handle the problem of multiple pending WSARecv() calls?" is a common question on the Winsock news groups. It seems that everyone knows that it's often a good idea to have more than one outstanding read waiting on a socket and everyone's equally aware that sometimes code doesn't work right when you do that. This article explains the potential problems with multiple pending recvs.
-
DeviceIoControl & USB using Managed C++ & C#
by Bill Burris
Low level I/O is not part of the .NET framework, so information on how its done is difficult to find. Since I am using some specialized hardware, which won't be available to most C# developers, my comments will focus on interoperability with unmanaged code.
-
How to POP3 in C#
by Randy Charles Morin
An introduction to retrieving email from a POP3 server using the .NET socket classes.
-
Custom SMTP in C#
by Randy Charles Morin
Learn how to write a TCP/IP client that sends emails in C# without the built-in .NET smtp class.
-
Using ADO in C++
by Randy Charles Morin
An introduction to using ADO in C++ - its far simpler than you'd think!
-
A guide to sorting
by Joseph M. Newcomer
Learn two sorting algorithms, and how to use these to sort CListBox, ComboBox, and CListCtrl controls
-
Programming in C++
by Mike Ware
C++ tutorial covering comp sci background, syntax, data types, operators, type conversion, logical expressions, control structures, formatting output, functions, pointers, arrays, array-type problems, user-defined types, header files, structures, enum types, graphics, classes, function/operator overloading, static variables, and much more. A must read for anyone learning C++.
-
AI 1 - Problem Solving (Artificial intelligence)
by Chris Stones
A console C++ tutorial covering the basics of problem solving using different AI techniques.
-
AI 2 - Game Playing (Artificial intelligence)
by Chris Stones
Part 2 of my Artificial intelligence tutorial. Extends what you learn in the first tutorial and explains the techniques needed to program a 2 player Game (human vs computer) uses tic tac toe as an example.
-
Introduction to Direct 3D
by David Nishimoto
This article explains how to build a direct 3D application using MFC
-
Direct Input 8
by David Nishimoto
How to implement Direct Input 8 for the mouse and keyboard in MFC
-
A reusable Windows socket server class
by Len Holgate
Writing a high performance server that runs on Windows NT and uses sockets to communicate with the outside world isn't that hard once you dig through the API references. What's more most of the code is common between all of the servers that you're likely to want to write. It should be possible to wrap all of the common code up in some easy to reuse classes.