Hey guys, firstly I would like to apologize for asking what is most likely a fairly simple question; I've just not yet come across the problem being address.
I am looking to define a function which accepts, as the input, the argv array to process it and prints text, returning nothing.
My problem has been 1. every time I define a function that returns void and call it with just: functionName(variables); the compiler complains about duplicate definitions of the function. Is there a precedent I am unaware of for function calls?
Also, likely due to my basic understanding of pointers, I am unable to pass the argv array as input to the function, probably as I don't know how to represent it in the function definition.
Likely related to the previous question, how would I create a pointer that points to the same location as argv[]?
Thanks in advanced for any help, my programming experience is limited to higher level languages like Java, perl, python etc all which do not require as explicit control of variables.