v 在不同的 .cpp 文件中使用在 main.cpp 中創建的類型的對象 [英]vUsing a object of a type created in main.cpp in a different .cpp file
將main.cpp更改為main.c並停止在Clion上使用CMake進行構建 [英]Changed main.cpp to main.c and stopped building with CMake on Clion
無論如何,要在我的main.cpp文件之外傳遞argc,argv嗎? [英]Is there anyway to pass argc, argv outside of my main.cpp file?