Function pathLocation

Gets a valid path folder from the user. The string will not contain quotes, if you are using in a system call and the path contain spaces wrapping in quotes may be required.

auto confFile = pathLocation("Where is the configuration file?");

Prototype

string pathLocation(
  string action
);

Throws

NoInputException if the user does not provide a path.

Authors

Jesse Phillips

Copyright

Copyright Jesse Phillips 2010

License

zlib/libpng