| DANNY123 (22) | |||
//the compiler shows that:1>------ Build started: Project: the bubble function, Configuration: Debug Win32 ------ 1> main.cpp 1>c:\users\danny\documents\visual studio 2010\projects\the bubble function\the bubble function\main.cpp(10): error C2664: 'sort' : cannot convert parameter 1 from 'int [6]' to 'int' 1> There is no context in which this conversion is possible ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== | |||
|
|
|||
| L B (3805) | |
| Look at line 4 | |
|
|
|
| DANNY123 (22) | |
| how to fix? | |
|
|
|
| Zhuge (2974) | |
| Make the prototype and the definition match. | |
|
|
|