Compare line 17 and line 40. The function is expecting a string parameter, but you provide none.
On a random note, "void means it is not going to return anything." :|
Your exampleFunction(string) has a return type of int. You must return an int, like you return 0 for main, or change its return type to void since you don't seem to need it to return an int.
Last edited on