Click here to Skip to main content
15,908,834 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Static member funciton call non-static function Pin
nguyenvhn21-Nov-04 23:36
nguyenvhn21-Nov-04 23:36 
GeneralRe: Static member funciton call non-static function Pin
Christian Graus21-Nov-04 23:43
protectorChristian Graus21-Nov-04 23:43 
GeneralRe: Static member funciton call non-static function Pin
nguyenvhn22-Nov-04 0:25
nguyenvhn22-Nov-04 0:25 
GeneralRe: Static member funciton call non-static function Pin
Steve S22-Nov-04 0:32
Steve S22-Nov-04 0:32 
GeneralTutorial for Visual C++ .NET 2003 Pin
Rylogy21-Nov-04 9:37
Rylogy21-Nov-04 9:37 
QuestionSTL fstream brakedown in VS .NET? Pin
Robert Bielik21-Nov-04 9:08
Robert Bielik21-Nov-04 9:08 
AnswerRe: STL fstream brakedown in VS .NET? Pin
Aamir Butt21-Nov-04 20:34
Aamir Butt21-Nov-04 20:34 
GeneralRe: STL fstream brakedown in VS .NET? Pin
Robert Bielik21-Nov-04 20:42
Robert Bielik21-Nov-04 20:42 
Thanks Aamir,

I'm not sure what you mean by the "plain include"? I do use the include:

#include <fstream>

for the std::ifstream and std::ofstream STL classes.

I checked the VC7 STL implementation and a lot of stream operators are available for the std::ofstream (through std::ostream). All _except_ char* (!!). For example, when the ofstream was passed a char* it used the operator << (void * ptr), so it was no wonder that the pointer value got into the text file instead of the string content. I'm not convinced that this is according to the standard, as STLPort is much more standard compliant and with STLPort it works just as intended. I guess the VC6 STL bugs just have been replaced by VC7 STL bugs... Wink | ;-)

/Rob

GeneralBits; Pin
Bo Hunter21-Nov-04 8:38
Bo Hunter21-Nov-04 8:38 
GeneralRe: Bits; Pin
Neville Franks21-Nov-04 10:13
Neville Franks21-Nov-04 10:13 
GeneralRe: Bits; Pin
Bo Hunter21-Nov-04 12:17
Bo Hunter21-Nov-04 12:17 
GeneralRe: Bits; Pin
Henry miller22-Nov-04 2:48
Henry miller22-Nov-04 2:48 
QuestionHow to create a bitmap using pixel color information in WindowsCE? Pin
mutpan21-Nov-04 7:52
mutpan21-Nov-04 7:52 
GeneralCreate folder Pin
DanYELL21-Nov-04 5:28
DanYELL21-Nov-04 5:28 
GeneralRe: Create folder Pin
John R. Shaw21-Nov-04 5:52
John R. Shaw21-Nov-04 5:52 
GeneralRe: Create folder Pin
Renjith Ramachandran21-Nov-04 7:56
Renjith Ramachandran21-Nov-04 7:56 
GeneralRe: Create folder Pin
ThatsAlok21-Nov-04 17:32
ThatsAlok21-Nov-04 17:32 
GeneralCapture and CHANGE ip packets Pin
kydfru21-Nov-04 3:22
kydfru21-Nov-04 3:22 
GeneralRe: Capture and CHANGE ip packets Pin
benjymous21-Nov-04 22:50
benjymous21-Nov-04 22:50 
QuestionWhat to replace macro in C/C++? Pin
Link260021-Nov-04 2:32
Link260021-Nov-04 2:32 
AnswerRe: What to replace macro in C/C++? Pin
Jörgen Sigvardsson21-Nov-04 2:38
Jörgen Sigvardsson21-Nov-04 2:38 
GeneralRe: What to replace macro in C/C++? Pin
Ryan Binns21-Nov-04 17:48
Ryan Binns21-Nov-04 17:48 
GeneralRe: What to replace macro in C/C++? Pin
Jörgen Sigvardsson21-Nov-04 21:22
Jörgen Sigvardsson21-Nov-04 21:22 
AnswerRe: What to replace macro in C/C++? Pin
John R. Shaw21-Nov-04 5:46
John R. Shaw21-Nov-04 5:46 
GeneralRe: What to replace macro in C/C++? Pin
Link260021-Nov-04 14:04
Link260021-Nov-04 14:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.