Comparing command parameter with argv[] is not working

后端 未结 4 2050
温柔的废话
温柔的废话 2021-01-17 16:01

I am trying to compare the parameter of command with argv[] but it\'s not working. Here is my code.

./a.out -d 1

In main function



        
4条回答
提交回复
热议问题