Code:
do { pass = 1; pass<=arraysize-1; pass++;
}
while (swap == false);
I need abit of help with some c++, how would i say do the following while swap == false?
it needs to sort through an array of data whilst swap is equal to false, once everything is swapped bool swap will change to true and the programme will exit..
I have the rest of the code i just not sure what to put in this first do while loop.