cost 410 ms
C++ int main(int argc, char* argv[])

how do i save int argc, char* argv in to int someting. i am trying to get the arguments from a test program and save it into int ****; and the pro ...

2023-01-09 07:42:56   1   77    c++ / argv / argc  
How to return argc in assembly

I'm trying to return argc in assembly but the program returns 0. I'm using GNU 2.28 on Windows 10 ! There is my code: I'm using the following comm ...

searching length of sting in arg[]

I'm trying to get string length from char argv array but I don't know how to check this. I'm writing 3 words to console for example: red blue yellow. ...

2022-02-10 10:54:30   1   45    c++ / argv / argc  
Why we use argc -1?

This is a function to reverse a given arguments , why we used argc - 1 in this context,as long as there's not null to compare in int type, is it to su ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM