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

Username:   Password: 
 RegisterRegister   
 Arrays question
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
masternav




PostPosted: Mon May 09, 2005 5:37 pm   Post subject: Arrays question

When can you say arrays are stored?
Sponsor
Sponsor
Sponsor
sponsor
MysticVegeta




PostPosted: Mon May 09, 2005 5:54 pm   Post subject: (No subject)

If the variables inside in array are not empty.
for example
code:
var num : array 1..5 of int

This is currently an empty array whereas this ->
code:
var num : array 1..5 of int
for s : 1..5
num(s):= s
end for

This is full.
I think that by stored you mean full
masternav




PostPosted: Mon May 09, 2005 7:10 pm   Post subject: thx for tat!

I got a question for test and I got it wrong and I cant find it anywhere over the internet so It is a logical question
MysticVegeta




PostPosted: Tue May 10, 2005 6:49 am   Post subject: (No subject)

What did you put as the solution?
AsianSensation




PostPosted: Tue May 10, 2005 7:47 pm   Post subject: Re: Arrays question

masternav wrote:
When can you say arrays are stored?


Was that the questions? Because the answer would be "Whenever you want, as soon as you code it."

Not clear on your question, rephrase it please?
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  [ 5 Posts ]
Jump to:   


Style:  
Search: