C/C++ - executable path

前端 未结 5 774
广开言路
广开言路 2021-01-21 15:36

I want to get the current executable\'s file path without the executable name at the end.

I\'m using:

char path[1024];
uint32_t size = sizeof(path);
if (         


        
5条回答
提交回复
热议问题