| ??? 07/06/08 09:18 Read: times |
#156421 - argument consistency Responding to: ???'s previous message |
Your function will work fine if you :
int zoom_array[5] = ... instead of uchar my_array[5] = ... which is an inconsistent type and you call with : bubblesort(zoom_array, 5); instead of zoom_array[] which adds an extra indirection David. |
| Topic | Author | Date |
| Compile error using a bubble sort | 01/01/70 00:00 | |
| Is the array 'uchar' or is it 'int'? Do not mix. | 01/01/70 00:00 | |
| argument consistency | 01/01/70 00:00 | |
| I had one error and type mismatch seen | 01/01/70 00:00 | |
| more careful with decrement unsigned char | 01/01/70 00:00 | |
| Use different identifiers for global and auto | 01/01/70 00:00 | |
| Yes I saw the corruption... | 01/01/70 00:00 | |
| You can use any type you like. | 01/01/70 00:00 | |
thanks guys.... | 01/01/70 00:00 |



