Skip to main content
gamedev.net
🔒 Locked

File-API

Started by LtJax 3 replies 600+ views
Original Post
LtJax
LtJax
Hi! I''m looking for a good c++ file api/lib that is cross-platform, supports file mapping, and preferably OOP. Any suggestions? google didn''t find anything useful.. Thx in advance, Jax
Sand_Hawk
Sand_Hawk

#include <iostream>
using namespace std;


As far as I know iostream isn''t just Windows/DOS. So you can use it anyway, the compiler translates them into the correct OS calls.

Sand Hawk



----------------
-Earth is 98% full. Please delete anybody you can.


My Site
----------------(Inspired by Pouya)
LtJax
LtJax
I wanted to avoid the std - that''s why I asked in the first place.
btw, the file support is in
sark
sark
quote:
Original post by LtJax
I wanted to avoid the std - that''s why I asked in the first place.



Why?

If you do decide to use the standard C++ library, keep in mind it doesnt support file mapping but it is cross-platform. You can always derive your own streams and scribble in support for file mapping of course.
LtJax
LtJax
I didn''t ask what I could do with the std, I know the file stuff pretty well actually - I''m asking for alternatives.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.