- Joined
- Feb 20, 2001
I am currently working on a project in C under Linux. I am trying to make an army list composer for the Eldar army under Warhammer 40k. I will post the source soon, but it all seems complicated.
Ok heres the question:
If I pass an argument of type int to a function (as output) do I need to use it as a pointer ie. int *variable ?
How do I pass a string (ie array of type char) to a function as an ouput parameter?
Ok heres the question:
If I pass an argument of type int to a function (as output) do I need to use it as a pointer ie. int *variable ?
How do I pass a string (ie array of type char) to a function as an ouput parameter?