How to pass command line arguments to a c program

前端 未结 4 1626
无人共我
无人共我 2020-12-05 11:02

I\'ve known how to write a program that accepts command line arguments ever since I learned to program. What I don\'t understand is how these parameters get their v

4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-05 11:49

    Just click on start menu and type cmd in search index...press enter ..now in cmd window type following command... "program_name arg1 arg2" (without quotes) and press enter key...and yeah its done! and

提交回复
热议问题