cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Trying to reorganize numbers
Trying to reorganize numbers
Aug 29, 2014 at 12:05am UTC
kni9ht
(4)
Thanks
Last edited on
Aug 29, 2014 at 5:18am UTC
Aug 29, 2014 at 4:01am UTC
Yay295
(431)
line 33: size should be size/2
line 35: 0 should be size / 2
You should only iterate through half of the array.
Topic archived. No new replies allowed.