D
darren
Hello
In a program i'm writing, I need to be able to serve files from a
specified directory. I don't want to reinvent the wheel by writing a
class that provides basic directory a file functionality if something
similar already exists. I'm looking for something similar to what;s
provided in java i guess. The ability to list files in a given
directory, support for ".." "." etc.
After googling around a bit, its apparent that this functionality is
not built into the language itself, and is fairly OS dependant. i'm
mainly interesting in targeting a unix environment. I've found
frameworks like Boost, which look pretty cool, but a specification for
this assignment, is that no libraries are allowed in the deliverable.
In other words, Boost is out, because the submission must only be
source code.
I would appreciate any advice on how you guys get such information
about a file system in your programs, or if you know of any helpful
resources. Thanks.
In a program i'm writing, I need to be able to serve files from a
specified directory. I don't want to reinvent the wheel by writing a
class that provides basic directory a file functionality if something
similar already exists. I'm looking for something similar to what;s
provided in java i guess. The ability to list files in a given
directory, support for ".." "." etc.
After googling around a bit, its apparent that this functionality is
not built into the language itself, and is fairly OS dependant. i'm
mainly interesting in targeting a unix environment. I've found
frameworks like Boost, which look pretty cool, but a specification for
this assignment, is that no libraries are allowed in the deliverable.
In other words, Boost is out, because the submission must only be
source code.
I would appreciate any advice on how you guys get such information
about a file system in your programs, or if you know of any helpful
resources. Thanks.