0_0_25912643_23594.cpp: In function 'int main()': 0_0_25912643_23594.cpp:31:14: error: too many arguments to function 'void getnext()' getnext(str); ^ 0_0_25912643_23594.cpp:9:6: note: declared here void getnext() ^