Thread
:
arrays proplem
View Single Post
•
•
Join Date: Sep 2004
Posts: 7,679
Reputation:
Solved Threads: 727
Narue
Offline
Code Goddess
Re: arrays proplem
0
#
2
Dec 28th, 2007
>what does it this mean Initialize the array so that the first 25
>components are equal to the square of the index variable ?
I would assume something like this:
Help with Code Tags
C++ Syntax
(
Toggle Plain Text
)
for
(
int
i =
0
; i <
25
; i++
)
alpha
[
i
]
= i * i;
for ( int i = 0; i < 25; i++ ) alpha[i] = i * i;
I'm here to prove you wrong.
Narue
View Public Profile
Visit Narue's homepage!
Find all posts by Narue