Archive for the ‘Programming’ 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 4th, 2009

Switch Statements

No Comments, Programming, by JAG.

Switch Statements are modified if statements with a different syntax. These are often used when a user wishes to return…

December 4th, 2009

If Statements

No Comments, Programming, by JAG.

If statements use equality expressions which allows the program to deduce when to alter or return certain variables or functions…

December 3rd, 2009

Iteration Statements

1 Comment, Programming, by JAG.

Iteration statements (or loops) are used for a variety of reasons, and have very effective outcomes. Popular iteration statements are…

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…

December 3rd, 2009

Hello World

No Comments, Java, by admin.

Hello World is probably the first thing anyone should ever do in any programming language. It’s there to give a…


5 visitors online now
5 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