Get current working directory


/ Published in: C
Save to your folder(s)

Sometimes I want a complete path to a file in the current working directory to make error messages clearer. The URL has alternate approaches.

URL: http://www.pages.drexel.edu/~mfp27/cppfaqs/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.