Click here to Skip to main content
15,928,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Non-MFC Equivalent to CFileFind? Pin
Shog94-Jun-02 8:57
sitebuilderShog94-Jun-02 8:57 
AnswerRe: Non-MFC Equivalent to CFileFind? Pin
Ravi Bhavnani5-Jun-02 6:17
professionalRavi Bhavnani5-Jun-02 6:17 
AnswerRe: Non-MFC Equivalent to CFileFind? Pin
Michael Haephrati6-Jan-15 10:15
professionalMichael Haephrati6-Jan-15 10:15 
GeneralSTL question Pin
4-Jun-02 8:39
suss4-Jun-02 8:39 
GeneralRe: STL question Pin
Chris Losinger4-Jun-02 8:52
professionalChris Losinger4-Jun-02 8:52 
GeneralRe: STL question Pin
Alexandru Savescu4-Jun-02 12:03
Alexandru Savescu4-Jun-02 12:03 
General<fstream> Pin
4-Jun-02 6:55
suss4-Jun-02 6:55 
GeneralRe: &lt;fstream&gt; Pin
Rama Krishna Vavilala4-Jun-02 7:14
Rama Krishna Vavilala4-Jun-02 7:14 
A note about your post :-

<fstream> would not work on the subject line. As it is HTML.

The answer

Include only the file fstream. Do not include "fstream.h" if you are doing that. Then you need to prefix

#include <fstream>

class x
{
public:

protected:
std::ofstream of;
};

Prefix with std.
GeneralRe: <fstream> Pin
Rage4-Jun-02 7:11
professionalRage4-Jun-02 7:11 
GeneralRe: &lt;fstream&gt; Pin
Rama Krishna Vavilala4-Jun-02 7:24
Rama Krishna Vavilala4-Jun-02 7:24 
GeneralRe: <fstream> Pin
Matt Newman4-Jun-02 7:49
Matt Newman4-Jun-02 7:49 
GeneralRe: <fstream> Pin
dazinith4-Jun-02 7:38
dazinith4-Jun-02 7:38 
GeneralRe: <fstream> Pin
Rama Krishna Vavilala4-Jun-02 7:49
Rama Krishna Vavilala4-Jun-02 7:49 
GeneralRe: <fstream> Pin
Matt Newman4-Jun-02 7:58
Matt Newman4-Jun-02 7:58 
GeneralDAO and Visual Studio .NET Pin
4-Jun-02 7:01
suss4-Jun-02 7:01 
GeneralMultiple view of a doc in MDI Pin
4-Jun-02 6:47
suss4-Jun-02 6:47 
GeneralRe: Multiple view of a doc in MDI Pin
Ed Gadziemski4-Jun-02 14:26
professionalEd Gadziemski4-Jun-02 14:26 
Generalgc struct/class Help Pin
Paul Watson4-Jun-02 6:49
sitebuilderPaul Watson4-Jun-02 6:49 
GeneralRe: gc struct/class Help Pin
Rama Krishna Vavilala4-Jun-02 7:03
Rama Krishna Vavilala4-Jun-02 7:03 
GeneralRe: gc struct/class Help Pin
Paul Watson4-Jun-02 21:50
sitebuilderPaul Watson4-Jun-02 21:50 
GeneralRe: gc struct/class Help Pin
Anders Molin4-Jun-02 9:31
professionalAnders Molin4-Jun-02 9:31 
GeneralRe: gc struct/class Help Pin
4-Jun-02 9:33
suss4-Jun-02 9:33 
GeneralRe: gc struct/class Help Pin
Paul Watson4-Jun-02 21:58
sitebuilderPaul Watson4-Jun-02 21:58 
GeneralThe thing is in the tree Pin
Rage4-Jun-02 6:22
professionalRage4-Jun-02 6:22 
GeneralRe: The thing is in the tree Pin
4-Jun-02 11:18
suss4-Jun-02 11:18 

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.