Home > Back-end >  Help me to look at the problem?
Help me to look at the problem?

Time:06-07

There is no mistake, no warning, but after the run up from somewhere behind all of the information into the code for what should I do?

CodePudding user response:

Parr [j]=t;
Parr [j]=parr [m + 1]
Parr [j + 1)=t

This is for exchanging data? Think about it, this how to write

CodePudding user response:

A breakpoint (code were a mouse, or the current line by F9), press F5 to start debugging, press F10 to jump to the next line, debug look at the data, which step is the data began to go wrong

CodePudding user response:

Fun
reference 1 floor response:
parr [j]=t;
Parr [j]=parr [m + 1]
Parr [j + 1)=t

This is for exchanging data? Think about it, how do you write this to

Ok, I know, thank you

CodePudding user response:

refer to the second floor datoulaile123 response:
a breakpoint (code were a mouse, or the current line by F9), press F5 to start debugging, press F10 to jump to the next line, debugging, look at the data step which is data error of

Now done, thank you, I remember this way

CodePudding user response:

Bubble sort when there is a problem, namely exchange j and j + 1 when the corresponding data exchange should be t=parr [I];
The original poster as parr [I]=t;

CodePudding user response:

I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10581430.html
I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10768339.html
  • Related