C++ Directory Create

Description

C++ Directory Create

#include <iostream> 
#include <stdio.h> 
#include <io.h> 

using namespace std; 

 int main() //w  w  w  .  ja v  a2  s. c om
 { 
    if (mkdir("../abc") != 0) 
    { 
        cout << "failed." << endl; 
    }else{
        cout << "created." << endl; 
    } 
    return 0; 
 }



PreviousNext

Related