Archive for the ‘C’ Category

February 8th, 2010

Malloc

Comments Off, C, by JAG.

Malloc (or ‘memory allocation’) is an exceptionally useful tool in C that allows the programmer to create dynamically behaving arrays…

January 25th, 2010

Linked Lists

No Comments, C, by JAG.

A Linked List is a data structure that arranges data from a given input into a stored ‘list’. Each item…

December 26th, 2009

Array of Characters (Strings)

No Comments, C, Programming, by JAG.

Strings in C are handled differently to standard Java as there is no set ‘String’ library. The following example will…

December 16th, 2009

Create an array of Strings

No Comments, C, by JAG.

Creating a string in ANSI C is very simple, as it is simply an array of characters. However, creating an…

December 6th, 2009

Read In A Text File In ANSI C

No Comments, C, by JAG.

Reading in a text file in ANSI C can be done in many different ways. This example will show how…

December 3rd, 2009

Hello World

No Comments, C, by admin.

Hello World in C is even more simple than Java: #include <stdio.h> int main() { printf(“Hello World!”); return(0); } int…


7 visitors online now
7 guests, 0 members
Max visitors today: 7 at 12:52 pm UTC
This month: 7 at 09-07-2010 12:52 pm UTC
This year: 20 at 02-19-2010 03:07 pm UTC
All time: 20 at 02-19-2010 03:07 pm UTC