Я хочу разработать приложение, которое будет работать как графический интерфейс (wxWidgets), если в него передано ноль аргументов или параметров.
Код: Выделить всё
main()This brought about the question: Can the first argument of
Код: Выделить всё
main(int count, char ** parameters)Use Case 1: In Windows 10, using File Explorer (or shortcuts), will the argument count be zero?
I know that the first parameter is the absolute name of the executable, when run in command window.
Environment:
Windows 10 command window or desktop icon or File Explorer
Microsoft Visual Studio 2019
wxWidgets
Источник: https://stackoverflow.com/questions/781 ... nt-in-main
Мобильная версия