NEWBIE - Frickin' headers... :-)

Started by
1 comment, last by Gollum 23 years, 5 months ago
Hmm. Is there any way I can do this?: #include <iostream> #include &#60fstream.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
Advertisement
what exact is rmDesc declaration?

post your code with [ source ] [ /source ] brackets around it.
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara
Why not just
  #include <fstream>  

instead?

This topic is closed to new replies.

Advertisement