I've only done relatively simple console-based C++ programming and I've never used any parameters in the main() function. However, I see it quite frequently or every so often in sample or other people's code.
int main(int argc, char* argv[]) { ... }
What the hell is it for? :rolleyes: And why don't I see people actually using argc or the array argv[] in their program!
Thanks :yes: Hmm, there is probably no good reason I want to know this other than curiosity, heh... :rofl:
They need to follow the standard for AAA game but they will go at lowest level for triple a game because will sell more, earn kudos and the milk it for years anyway.
look how much they milked gta 5 and how they milked the original 3 - San Andreas and vice city.
it is probably going to be a fun game but then they allowed someone to remake classics that somehow were more broken and worse then original
i hope they don’t ###### up this one!!!
In addition to the "sidebar app list" and "Collections" features, Microsoft will also deprecate the "Drop" feature. Before you publish this news and credit another site, here is the original source:
https://x.com/i/status/2067838711870439583
.
Question
fault
Hey,
I've only done relatively simple console-based C++ programming and I've never used any parameters in the main() function. However, I see it quite frequently or every so often in sample or other people's code.
int main(int argc, char* argv[]) { ... }What the hell is it for? :rolleyes: And why don't I see people actually using argc or the array argv[] in their program!
Thanks :yes: Hmm, there is probably no good reason I want to know this other than curiosity, heh... :rofl:
Link to comment
https://www.neowin.net/forum/topic/190198-c-int-mainint-argc-char-argv/Share on other sites
11 answers to this question
Recommended Posts