wiki:Docs/Prog/Manual/ApplicationLibraries/lib825ev/File/MakeDirIfNotExists

Version 2 (modified by Don Wilson, 7 months ago) ( diff )

--

MakeDirIfNotExists

Create the specified directory path if it does not already exist

bool MakeDirIfNotExists(const char* path);

bool MakeDirIfNotExists(string& str);

Parameters

  • str - string variable containing path
  • path - character array pointer containing path

Return Value

  • Returns true if directory already exists or was created successfully, false if directory could not be created.

Remarks

Examples

See Also

Note: See TracWiki for help on using the wiki.