|
Not logged in [Login - Register] |
You Are Not Registered Or Not Logged In |
Corsa Sport » Message Board » Off Day » Geek Day » can anyone help with some C++ stuff??? » Post Reply
|
corb |
posted on 27th Aug 03 at 20:55 |
And have u got any pics of Hels install anywhere? | |
corb |
posted on 27th Aug 03 at 20:54 |
What is it? | |
SteveW |
posted on 27th Aug 03 at 20:22 |
:lol: you got me ;) | |
m-dot |
posted on 27th Aug 03 at 19:20 |
:| he might be | |
Ian |
posted on 27th Aug 03 at 19:15 |
No he's playing with C++ for fun :lol: | |
m-dot |
posted on 27th Aug 03 at 19:10 |
lol steve are you doing course work or something? right, thats it.. no more help for you :P | |
Richie |
posted on 27th Aug 03 at 19:08 |
Steven stop cheating | |
m-dot |
posted on 27th Aug 03 at 19:05 |
lol sorry, forgot your question: a loop is used to initialise the whole array to zero, thus even if the array size increases, the main loop code still remains the same. All that would change is the constant iSIZE. | |
SteveW |
posted on 27th Aug 03 at 18:36 |
Great, but why would it be necessary to do this?? | |
neiliosxi |
posted on 27th Aug 03 at 18:35 |
I had to learn all this at uni, 1st year on electrical engineering degree, its a nightmare if u have never heard of C++!!! | |
m-dot |
posted on 27th Aug 03 at 18:09 |
tim check your mails:) | |
m-dot |
posted on 27th Aug 03 at 18:08 |
bastard, tim replied quicker :( | |
m-dot |
posted on 27th Aug 03 at 18:08 |
lol, you got me on the first one! but if you want to initialise an array to all zeros, initialise it with single zeros: | |
Tim |
posted on 27th Aug 03 at 18:04 |
1) A definition of the array MARKS might help answer the question? If you mean the range of values, then it's just ( array size - 1 ) i.e. int marks[100] would have values 0 - 99. | |
Ben |
posted on 27th Aug 03 at 18:03 |
what is it:boggle: :lol: | |
Adam-D |
posted on 27th Aug 03 at 17:48 |
fuvkin hate c++ | |
SteveW |
posted on 27th Aug 03 at 17:47 |
Here you are try these: | |
SteveW |
posted on 27th Aug 03 at 17:45 |
SXI07 - your a life saver, just found all that on a site myself actually. Well done, spot on matey. | |
CORSA NUT |
posted on 27th Aug 03 at 17:34 |
WTF!!!!! :lol: | |
m-dot |
posted on 27th Aug 03 at 17:29 |
Declare the array arrays size and the type of elements. All elements must be the same type. Write the element type name, the name of the array variable, then the size enclosed in square brackets ("[]"). | |
SteveW |
posted on 27th Aug 03 at 17:04 |
OK heres the problem: |