prog.cpp: In function ‘int main()’:
prog.cpp:7:2: error: ‘shell_sort’ was not declared in this scope
shell_sort(arr, 10);
^~~~~~~~~~
prog.cpp:7:2: note: suggested alternative: ‘short’
shell_sort(arr, 10);
^~~~~~~~~~
short
prog.cpp:8:30: error: ‘printF’ was not declared in this scope
for(int i = 0; i < 10; i++) printF("%d ", arr[i]);
^~~~~~
prog.cpp:8:30: note: suggested alternative: ‘printf’
for(int i = 0; i < 10; i++) printF("%d ", arr[i]);
^~~~~~
printf
prog.cpp: In function ‘void shell_sort(int*, int)’:
prog.cpp:14:39: error: request for member ‘Count’ in ‘dataList’, which is of non-class type ‘int*’
int k = 3, gap = dataList.Count / k;
^~~~~