I've noticed when reading through some winAPI tutorials. May I ask why there's two * instead of just one?
Printable View
I've noticed when reading through some winAPI tutorials. May I ask why there's two * instead of just one?
Basicly its an array of strings where the int is the number of strings and argv stores the strings. I can be written as char** argv or char* argv[]. As far as I have read.
This is so you can accept command arguments in your program as is a common feature in Unix terminals. A common example would be that your linkers and warning levels can be passed to the compiler like this in Unix.
I am sure there may be more to it but that is as far as I have read.
Ah, can't believe I missed that. Thanks for the quick & helpful reply. :)