It's been a while since I've written anything in C and this is my first venture back into it. I decided to write a little puzzle generate for a friend of mine. I origninally wrote it over my lunch hour at work on windows using mingw, but now that I am trying to work on it at home where I don't have windows.
I am getting the following error when I try to compile:
[tt]
compiling sudoku.cpp (g++)
sudoku.cpp:106: error: `mkdir' undeclared (first use this function)
[/tt]
I have included sys/dir.h, which is where I thought this was from. Does anyone have any ideas what is going on here?
I am getting the following error when I try to compile:
[tt]
compiling sudoku.cpp (g++)
sudoku.cpp:106: error: `mkdir' undeclared (first use this function)
[/tt]
I have included sys/dir.h, which is where I thought this was from. Does anyone have any ideas what is going on here?