C++ Tutorials & Articles
-
To SP or not to SP in SQL Server
by Douglas ReillyThe topic of using or not using stored procedures reaches the level of religious fervor in many quarters. Douglas Reilly, a Microsoft MVP, weighs in on the topic with an in-depth analysis.
-
How the .NET Debugger Works
by Jon ShuteIn 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.
-
Retrieving HTTP content in .NET
by Rick StrahlThis article discusses the .NET WebRequest and WebResponse classes used to retrieve HTTP content over the Web in detail. In the process a number of related .NET development issues are described including stream handling, string encoding, using delegates, implementing events and creating new threads to run HTTP requests simultaneously.
-
How to PING
by Randy Charles MorinIntroduces 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 BellesCheck out this article which describes how to enumerate and host Windows Control Panel Applets using C# and unmanaged C++.
-
How to NNTP in C#
by Randy Charles MorinThe third in a series of articles on Internet programming with C#. Here, we cover the NNTP protocol, which is used to access newsgroups.
-
Business logic processing in a socket server
by Len HolgateTo 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.
-
Test-driven development with NUnit
by Roy OsheroveAn introduction to test-driven development with NUnit and the NUnit-Add-in
-
In Depth ASP.NET using ADO.NET
by John GodelIn this article we will discuss a number of ways to retrieve, show, and update data with ASP.NET forms using ADO.NET. Also, we will have a clear idea about the most common server controls in ASP.NET. In particular, with this article we will cover ASP.NET server controls, ADO.NET DataSource, and creating Templated DataBound Controls, ASP.NET forms, using data with controls. John Godel
-
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 BurrisLow 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.
-
The Quick & Dirty .NET Guide to C#/VB OOP
by Dimitrios MarkatosAlthough this article won't be an exhaustive OOP treatise, its objective nevertheless is to present in a quick and dirty manner C#/VB Object-Oriented Programming. Moreover, even though this article may be slightly geared more towards C#, all important VB assessments or similarities are addressed and demonstrated. By the way, keep in mind C# is very case sensitive. Incidentally, don't be put off at the length of this article, a lot of it is simply repeated code examples for both languages.
-
.NET Threading Part II
by Randy Charles MorinThis is the second article of two parts on .NET threading. In this second part, I will discuss further the synchronization objects in the System.Threading .NET namespace, thread local storage, COM interoperability and thread states.
-
C# Threading in .NET
by Randy Charles MorinThe first in a two part series on C# threads, introducing how to create and manipulate threads with the .NET framework, including creating a thread, thread pools, syncronization, race conditions and timers.
-
How to POP3 in C#
by Randy Charles MorinAn introduction to retrieving email from a POP3 server using the .NET socket classes.
-
Custom SMTP in C#
by Randy Charles MorinLearn 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 MorinAn introduction to using ADO in C++ - its far simpler than you'd think!
-
Introduction to Class Programming Part II
by Dante SalvadorIn this series articles, we are going to discuss about: Enumeration, Properties that return an Object and other semi-advance topic pertain to in creating a class base program
-
A guide to sorting
by Joseph M. NewcomerLearn two sorting algorithms, and how to use these to sort CListBox, ComboBox, and CListCtrl controls
-
A Twisted Look at Object Oriented Programming in C#
by Jeff LouieAn extensive examination of OO programming in C#, covering inheritance, constructors, interfaces, virtual and static methods, and much more.