// Suzuki #include // _mkdir and _chdir #include // _creat #include // file manipulator #include // _S_IREAD and _S_IWRITE #include using namespace std; int main(int manyArgs, char * args[] ) { char *pathName = new char[128]; // new folder char *fileName = new char[128]; // new file if( manyArgs == 3) // in case the user runs it from the command line { pathName = args[1]; fileName = args[2]; } else if( manyArgs ==1) // running from Visual Studio or no parameter { cout<<"Path Name? "; // folder cin >> pathName; cout<<"File Name? "; // file cin >> fileName; } else // wrong arguments { cout<<" all failed"<