This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
ファイルをダブルクリックしてアプリケーションを実行しているため、getcwd API は実行パスをルート ディレクトリとして取得します。しかし、私は別のパスからアプリケーションを実行しています。Linux C++ で実行中のアプリケーションの正しいパスを取得する方法。助けてください よろしくお願いします