creating folders using windows.h

What is the new way of creating folders using windows.h and why does this syntax now require a const char?


1
2
3
4
5
6
  #include<windows.h>

int main() {
	CreateDirectory("C:\\test", NULL);
	return 0;
}
bump
Topic archived. No new replies allowed.