PATH in C++ and many other languages is the full file path to the location the file is being run at.
So if you were in
your path would be
You would use it if you do not know where it would be being run from, for example, if you handed me the code you would still want it to be able to find other folders, for example, if you had
C:/users/Ryan/testFolder/Pictures and you wanted me to have access, given the previous example it could be PATH/Pictures
Then even when it is put on my computer, the path will still work as it is a relative file path.
- 1Bitbucket and Visual Studio
- 1How to dump and restore database in MongoDB
- 1How to compress and extract files/folders using the tar command on Ubuntu
- 5What is "marquee" tag and how I can use it in HTML?
- 1How To Create a New User and Grant Permissions in MySQL
- 1What is the difference between setTimeout and setInterval?
- 4What FREE web hosting to use
- 3What's the difference between using “let” and “var”?
- 1Abstract and Virtual Methods
- 1How to make my footer cover 100% height and width of the page from top?
- 0What is the difference between custom dimensions and metrics in Google Analytics