Pseudocode for arrays (1 Viewer)

AntiHyper

Revered Member
Joined
Sep 16, 2004
Messages
1,102
Location
Tichondrius
Gender
Male
HSC
2005
You just use the square brackets after the variable name, i think:
initialise int[ n ] , where n stands for the number of 'slices'
If you want an unrestrained array just use [].
 

Zatts

New Member
Joined
Nov 6, 2004
Messages
14
Location
Sydney, Australia
Gender
Male
HSC
2005
in pseudocode its just as easy as:

declare d(x) as integer

where d is the name of the array and x is the number of elements
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top