Visual C++ difficulties

Questions about programming languages and debugging
Post Reply
User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Visual C++ difficulties

Post by ayu »

1:I am having problem debugging a program in Microsuck Visual C++, could someone that uses it just tell me step by step how to debug correctly?



2: EDIT: Also...this code is supposed to sort a list, like if i have list[10] and had the numbers like this

0 1 2 3 4 5 6 7 8 9

10 9 8 7 6 5 4 3 2 1

it would sort them like this

0 1 2 3 4 5 6 7 8 9

1 2 3 4 5 6 7 8 9 10

but it doesn't :/ could someone take a look at it and see if you can see what i am doing wrong =/ because i have been staring at it for hours now....

Code: Select all

http://www.justtjjewew.com/123.txt


EDIT: nvm i solved it.....i have edited the code now so that you can see my solution..... =/
"The best place to hide a tree, is in a forest"

Post Reply