This forum is in archive mode. You will not be able to post new content.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - sonofWrath

Pages: [1]
1
C - C++ / Re: Rearranging Numbers in Ascending Order
« on: January 16, 2016, 05:07:02 AM »
Am I the only one who doesn't see this for loop going on for 10 times ? it goes from 1 to strictly 10, so 9 times if I'm not mistaken. Also this last printf line seems to print the memory address of the array K, rather than elements of that array, hence the big number. You'll probably wanna use another for loop to print the elements of the K array, once you get it to initialize properly (place the numbers in ascending orders). 2cents.

edit: derped.

Pages: [1]


Want to be here? Contact Ande, Factionwars or Kulverstukas on the forum or at IRC.