C/C++/C# Sitemap - Page 3 2014-10-24

Templated String Functions in C++
Learn about the STL part of the string class when programming in C++ and about iterators and containers.

Template String Functions Continued
Learn about the STL part of the string class when programming in C++ and about iterators and containers.

A Small Text Processing example
This is a small application that reads in a web-page that has been saved to disk and then extracts and prints out all the urls in finds.

C Tutorial - Lesson One Learning How to Compile With Open Watcom
Learn how to create a project, edit source files and then compile and run your first program.

Typing Your First C Program
Learn how to add files to Open Watcom C

Enter the First Program
Learn how to Type in a program

Compiling the Project
Learn how to Compile the Project

Running the Compiled Example 1
Learn How to Run Example One

C Tutorial - Lesson Two Handling Numbers
Learn how to use numbers in your C programs, find out about variables and how to move numbers between variables. What is the difference between a float and an int?

More About Ints
Learn about other numeric types like Short Int.

All about Precision in Floats
Learn about precision in arithmetic

Some Arithmetic Operations
Learn about Arithmetic Operations

Specifying Output Formats
Learn how to specify the format of your numbers

Modifying format Specifiers
Learn how to use Format Specifiers

C Tutorial - About Pointers
In this lesson on pointers, learn about them, how to use them and avoid the pitfalls.

C Tutorial - Advanced Pointers
In this lesson on advanced pointers, learn about linked lists, function pointers and how to use them.

About Example 1- The Linked List Implementation
this explains how the linked list in example 1 works

Explanation of Example 1 Continued
This explains how example 1 works

More about Example 1
This explains how example 1 works

Learn About Function Pointers
This finishes explaining example 1 and then starts looking at function pointers, how to define and use them.

An Example with Function Pointers
This example demonstrates the use of function pointers.

Other Uses of a Function Pointer
This demonstrates the library function qsort which uses a function pointer to do the comparisons.

Example 3 - Using qsort to sort Ints
This example uses qsort to sort ints into ascending order. A callback function is supplied to do the actual comparison.

Example of 2D Structure with Pointers
This example creates and initializes a 2d array of Structs using pointers.

Allocating Memory
Learn How to allocate ram for pointer variables.

Examples of Example 1 Continued
See a list of example uses of pointers.

Explanation of Example 1 Continued
This continues the explanation of example 1.

Examples of Pointers
This is a source listing showing a number of examples of simple pointers in C

Example 2- Using Pointers with a Struct
This example demonstrates allocating memory for a struct.

About malloc and free
This explains example 2 and describes how malloc() and free() are used.

Some Rules for Working with Pointers
This describes some simple rules to help you when using pointers.

Some More Examples of Pointers in C
This has a few examples of using pointers in C.

C Tutorial - Strings and Text Handling
A quick recap about the limited string capabilities of c

Text Processing- Char by Char
This provides examples of implementing the Visual Basic Left, Mid and Right functions in c.

Writing your own Text Handling Functions
This carries on explaining the logic behind the code in example 1 for left, mid and right

Using the Mem Functions in the string.h Library
This page describes the mem type functions in string.h for copying and initializing fixed size structures.

The Char Functions in ctype.h
This looks at a problem with overlapped copying and then intrioduces the ctype.h library.

Using the str Functions
This illustrates the commonest str functions- the same four or five that are most used.

Using the str Functions Continued
This looks at a 140 line example which processes a text file by reading it in, parsing it and building a list of words and their frequency counts

Example 5 Continued
This continues the explanation of example 5.

Finishing Off Example 5
This finishes off describing example 5.