阅读背景:

Getting Bubble sort to work in C++

来源:互联网 
else if (selection == 16)
{
    int bubbleCount = 0;
    for(bubbleCount = 0; bubbleCount < arraySize; bubbleCount++)
    {
        if (theArray[bubbleCount] > theArray[bubbleCount+1])
        {
            swap(theArray[bubbleCount], theArray[bubbleCount+1]);
        }
    }
}
else if (selection == 16)
{
    int bubbleCount



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: