Answers for "Temporary file using MSFT API in cpp"

C++
0

Temporary file using MSFT API in cpp

using namespace System::Security;using namespace System::IO; ... String tempFolder;try {  tempFolder = Path::GetTempPath();}catch(SecurityException* ex){  // probably means that you don't have the required permissions}catch(Exception* ex){  // handle all other exceptions}
Posted by: Guest on June-01-2020

Browse Popular Code Answers by Language