So basically I get this error
error: PATH_MAX was not declared in this scope
error: cwd was not declared in this scope
in a file is there an include Im missing to get rid of the error like
#include <cstring> ...... or something
Printable View
So basically I get this error
error: PATH_MAX was not declared in this scope
error: cwd was not declared in this scope
in a file is there an include Im missing to get rid of the error like
#include <cstring> ...... or something
They would probably have to exist in order for you to use them. Since they don't....
(There is a FILENAME_MAX in <cstdio>, and POSIX has a getcwd.)
EDIT: Keeping in mind the Linux natures of previous questions, then I believe there is a PATH_MAX also in <unistd.h>.
NVM sorry didnt post teh asnwer they exist in
limits.h