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 aren't going to want to. Most would just go with the 17 Pro and save money. Why would they want to spend $300 for basically the same thing? It's not worth it if there are hardly any changes from year to year.
24H2 rolled out to the Release Preview Channel in early June 2024, so this coming a bit later in the Experimental Channel (formerly Dev) doesn't really say much more than earlier H2 releases that came out in October.
I am not sure what the thinking is here by putting it in Experimental, one would think that the 26H2 stamp means features are locked down and it's now bug tested until October? I don't even pretend to understand Microsoft's strategy for Windows Insider Program though
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