0_0_36154694_28237.cpp: In function 'int main()': 0_0_36154694_28237.cpp:55:12: error: too many arguments to function 'void getNext()' getNext(s); ^ 0_0_36154694_28237.cpp:10:6: note: declared here void getNext(){ ^