NEWBIE - Frickin' headers... :-)
Hmm. Is there any way I can do this?:
#include <iostream>
#include <fstream.h>
Fstream.h includes iostream.h, not iostream. With iostream.h, I hafta use this syntax:
cout << rmDesc.c_str(); // rmDesc is a string variable.
But if I could have iostream instead, I get to use this much nicer syntax:
cout << rmDesc;
If I wanna do file i/o, am I stuck with the nasty iostream.h way of handling strings?
- gollumgollum
Edited by - gollum on 11/24/00 1:43:34 PM
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement