get the home diectory of the current user unix way

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

This one just demonstrates an easy way to get the information via pwuid's. Might not the most elegnt way ut works on every unix I believe.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.