Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 init with multi dimensional arrays
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
mirhagk




PostPosted: Mon Nov 23, 2009 9:22 pm   Post subject: init with multi dimensional arrays

i know i can do
code:

var points:array 1..5 of int:=init (1,1,1,1,1)


but how do i do it with multi-dimensional arrays?
code:

var grid:array 1..5,1..5 of int:=init %what do I do??
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Mon Nov 23, 2009 9:35 pm   Post subject: RE:init with multi dimensional arrays

init
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
mirhagk




PostPosted: Mon Nov 23, 2009 9:39 pm   Post subject: RE:init with multi dimensional arrays

okay sorry man, lol i thought itd be more complicated than that. thanks man
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: