Is there an ANSI was to get the current directory and change directories. I am using LCC-WIN32 and I notice it has functions in direct.h like getcwd to get the current directory. I was wondering if these were ANSI.
Thanks
- Sean
This is a discussion on ANSI - working with directories within the C Programming forums, part of the General Programming Boards category; Is there an ANSI was to get the current directory and change directories. I am using LCC-WIN32 and I notice ...
Is there an ANSI was to get the current directory and change directories. I am using LCC-WIN32 and I notice it has functions in direct.h like getcwd to get the current directory. I was wondering if these were ANSI.
Thanks
- Sean
If cities were built like software is built, the first woodpecker to come along would level civilization.
Black Frog Studios
ANSI-C does not have anything to do with file systems - so any file system functions would be OS specific.
The next best standard to go for is POSIX, which does specify a lot of things relating to operating systems.