On 16/09/2014, at 6:34 PM, srean wrote:

> You can keep using std:strings but avoid creating intermediate C style char[ 
> ] strings. One could use ifstream or ofstream to get a std:string directly 
> from the OS buffer (their rdbuff interface one can go pretty low level), but 
> mixing that with FILE* handle would be messy but do able. Console I/O would 
> work too if one swaps the rdbuff of cin or cout with that of ifstream or 
> ofstream

But you're only talking about one function (reading a line).

There are other functions that require interfacing: RE2, SDL,
etc etc.

--
john skaller
skal...@users.sourceforge.net
http://felix-lang.org




------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to