Re: declaring array index


[ Follow Ups ] [ Post Followup ] [ CS1044 Web Discussion Board ] [ FAQ ]

Posted by Tony on November 12, 2001 at 20:14:20:

In Reply to: declaring array index posted by Aman on November 12, 2001 at 17:53:44:

It seems like you are making this part of the program harder than it needs to be. Look for something in the spec that looks like a possible max value that array won't have to be larger than. That should tell you something.

: i don't understand y when i try to declare the array index by passing it through as a return function it won't work. Like i made a const int in my main and i set that equal to a return function that retrieves the array size from the datafile. Then I set all my array indices to the const varible
: EX:
: const int index = FuncitonCall();
: string License[index];

: can somebody help me?????




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS1044 Web Discussion Board ] [ FAQ ]