Hey everyone, can I create a folder using c++, just the way we create a file?

Sure, but I get the feeling you didn't search first. Try this:

#include <iostream>
#include <direct.h>
using namespace std;

int main() {
  _mkdir("C:\\My Directory");
}

Thanks man ,it really is possible!!