Win32 API command line arguments parsing

前端 未结 9 2401
小蘑菇
小蘑菇 2020-12-16 13:52

I\'m writing Win32 console application, which can be started with optional arguments like this:

app.exe /argName1:\"argValue\" /argName2:\"argValue\"
         


        
9条回答
  •  不思量自难忘°
    2020-12-16 14:32

    I don't believe that there is a Win32 API available. You can look for a Windows implementation of getopt or another library.

提交回复
热议问题