C Programming
Latest Contributing Articles
|
|
Reading a Serial Port Using Windows
The latest versions of Windows do not allow direct access to the serial IO ports. This article describes how to read the serial port COM1 using C++ in Windows.
|
|
|
Reading Information From a PC Serial Port
A home PC can be set up to read characters from an external device. Voltage considerations are discussed, as well as C/C++ code that will perform the information capture.
|
|
|
Introduction to 'For' Loops in C
The for loop is, in ANSI C like in other programming languages, a very important flow control mechanism which novice programmers usually have trouble understanding.
|
|
|
Quicksort Using Arrays in C/C++
An alternative to bubble sorting or insertion sorting, the QuickSort algorithm is accessible from either C or C++ and can be used with many data types.
|
|
|
C Tutorial File Handling Commands
A discussion of using stdio.h to manipulate files to open, close and delete files, and read/write data to/from them for C programmers.
|
|
|
Swapping Techniques C Programming
When writing list management code, it is necessary to be able to swap data elements. This article looks at ways to use swapping techniques in C programming.
|
|