由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 问一个有关iostream的问题
相关主题
为什么在overloading中,friend <<不能读取private值呢?子类的assignment operator 怎么访问父类的private member
再问两个C++问题一个C++的概念问题
Why should i include .cpp instead of .hVC++ 中的 memory leak problem
输入输出流,stl,api精通各需要多长时间?请问这是什么错误呀
about namespaceC++ template question with friend ostream
c++ 为什么不能由负变正C++: operator new 为啥要是 static的, 不是有啥影响?
c++小问题Does VC++ 6.0 not support dynamic cast?
C++中怎么传递std::hex这样的参数啊c++标准函数传递一问
相关话题的讨论汇总
话题: iostream话题: gui话题: 输出话题: ostream话题: 有关
进入Programming版参与讨论
1 (共1页)
j*********g
发帖数: 3826
1
现在我想用iostream实现一个ostream类,我用的是.net 2005,不会玩也不准备玩C#。
这个ostream需要输出到文件,到console window,以后可能还要有输出到GUI的功能。
2个问题,
1。MFC GUI程序,现在的iostream库里面好像没有stdiostream这个类了,即使VC6有,
我试过AllocConsole,然后没有办法把这个handle和stream挂上。
2。因为我要有若干个输出目标,所以似乎我必须重载这个stream的所有输出函数。好
像很麻烦的样子。
我没怎么用过C++,很土,这里虚心请教,有什么好办法实现这个东西吗?
1 (共1页)
进入Programming版参与讨论
相关主题
c++标准函数传递一问about namespace
C++ 请教: about the memory layout of the class inheritancec++ 为什么不能由负变正
C语言重复定义问题c++小问题
C++ template function一个问题C++中怎么传递std::hex这样的参数啊
为什么在overloading中,friend <<不能读取private值呢?子类的assignment operator 怎么访问父类的private member
再问两个C++问题一个C++的概念问题
Why should i include .cpp instead of .hVC++ 中的 memory leak problem
输入输出流,stl,api精通各需要多长时间?请问这是什么错误呀
相关话题的讨论汇总
话题: iostream话题: gui话题: 输出话题: ostream话题: 有关