如何使用gcc将变量传递给C程序?
例如
gcc -o server ./server.c --host=localhost --port=1234
如何在我的代码中访问这些变量?
谢谢.
c parameters gcc
c ×1
gcc ×1
parameters ×1