why? 
Author Message
 why?

also i meet this problem,when i include <fstream> and not
<iostream>,the "cout<<" cant use.i must include both.so
why?if fstream drived from iostream,i would use cout<<
only include <fstream>.
is it right?why?thanks!


Sun, 26 Dec 2004 00:34:53 GMT  
 why?
The variable "cout" is declared in <iostream> and not in <fstream>. I
don't see what that has to do with which class is derived from which.
--
With best wishes,
    Igor Tandetnik

"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken


Quote:
> also i meet this problem,when i include <fstream> and not
> <iostream>,the "cout<<" cant use.i must include both.so
> why?if fstream drived from iostream,i would use cout<<
> only include <fstream>.
> is it right?why?thanks!



Sun, 26 Dec 2004 01:56:48 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. why, Why, WHY

2. Why oh Why can no one help me..

3. Interface IDs - why oh why??

4. Why? Why? Why? ATL Component not registering

5. WHY? WHY? WHY?

6. WHY? WHY? WHY?

7. WHY? WHY? WHY?

8. Alloca... Why and Why not?

9. Noise: Why C, Why VB and when to C++ or even going Visual?

10. realloc(): Why? Why not?

11. Why does .Execute in Command Object slower??Also why is dts faster than Ado??

12. Why This Works? Why This Not Works?

 

 
Powered by phpBB® Forum Software