Thread
:
Need help removing number from an array
View Single Post
•
•
Join Date: Mar 2008
Posts: 345
Reputation:
Solved Threads: 0
NinjaLink
Offline
Posting Whiz
Re: Need help removing number from an array
0
#
9
Oct 21st, 2008
Nevermind...I figured out what was wrong....
Help with Code Tags
C++ Syntax
(
Toggle Plain Text
)
for
(
int
i = index; i < length; i++
)
{
numbers
[
i
]
= numbers
[
i
+1
]
;
}
printIt
(
numbers,
11
)
;
for (int i = index; i < length; i++) { numbers[i] = numbers[i+1]; } printIt(numbers,11);
Out of an hour of trying to figure it out, that is all i had to do...wow!
NinjaLink
View Public Profile
Find all posts by NinjaLink