HomeManualTopicsTypesSymbols

std::getcwd

returns the current working directory

Parameters

None

Result

a string containing the current working directory

Description

This function needs I/O-access rights.

Topic

POSIX

See also

std::chdir changes the current working directory
std::mkdir creates a directory
std::realpath resolves the specified pathname