Since mkdir()
is not a standard C/C++ function, it's not surprising it doesn't work. The standard language is designed to be ignorant of the 'outside world' (directories, screen, keyboard) so anything that uses them outside the rudimentary I/O is compiler dependant. You'll have to look through your compiler documentation to see what functions it provides.
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
Grunt commented: Rightly Said - [Grunt] +1
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
WolfPack commented: Good Advice +3
Salem commented: Nice link to the CLC FAQ - Salem +1
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague