Click here to Skip to main content
15,927,745 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralThe one and only instance Pin
Bill Wilson26-Oct-01 13:58
Bill Wilson26-Oct-01 13:58 
GeneralRe: The one and only instance Pin
Todd Smith26-Oct-01 14:20
Todd Smith26-Oct-01 14:20 
GeneralMultiple SDI Pin
26-Oct-01 13:57
suss26-Oct-01 13:57 
GeneralRe: Multiple SDI Pin
29-Oct-01 4:35
suss29-Oct-01 4:35 
GeneralDisplaying and Saving Images at different resolutions. Pin
26-Oct-01 13:06
suss26-Oct-01 13:06 
GeneralRe: Displaying and Saving Images at different resolutions. Pin
Bill Wilson26-Oct-01 14:15
Bill Wilson26-Oct-01 14:15 
Generalfstream question Pin
davidko26-Oct-01 11:34
davidko26-Oct-01 11:34 
GeneralRe: fstream question Pin
Michael Dunn26-Oct-01 15:01
sitebuilderMichael Dunn26-Oct-01 15:01 
There's no need for the operators to be virtual. You just override whatever methods you want. The only time virtual comes into play is polymorphism - when you're accessing zofstream methods through a ofstream* variable and you need the zofstream version to be called. Folks don't usually use polymorphism with streams, so the ofstream methods aren't virtual.

The code is all in the "fstream" header I believe. Good luck understanding it, though, it's horribly obfuscated and impenetrable.

--Mike--
http://home.inreach.com/mdunn/
This posting is provided "as was" with no warranties, guarantees, lotteries, or any of those little bags of peanuts you get on planes. You assume all risk for crossing the street without holding mommy's hand. © 2001 Mike's Classy Software. Member FDIC. If rash develops, discontinue use.
Heart | [heart] your Green Alien | [Alien] with Good Stuff | [The good stuff] and Beer | [beer]
GeneralRe: fstream question Pin
Joaquín M López Muñoz27-Oct-01 3:17
Joaquín M López Muñoz27-Oct-01 3:17 
QuestionHow do I make a macro for this? Pin
Darren Schroeder26-Oct-01 10:04
Darren Schroeder26-Oct-01 10:04 
AnswerRe: How do I make a macro for this? Pin
Chris Losinger26-Oct-01 10:14
professionalChris Losinger26-Oct-01 10:14 
GeneralGDI Question Pin
26-Oct-01 10:02
suss26-Oct-01 10:02 
GeneralRe: GDI Question Pin
Christian Graus26-Oct-01 10:53
protectorChristian Graus26-Oct-01 10:53 
GeneralResizing a view Pin
26-Oct-01 9:36
suss26-Oct-01 9:36 
GeneralRe: Resizing a view Pin
Navin26-Oct-01 9:45
Navin26-Oct-01 9:45 
GeneralRe: Resizing a view Pin
26-Oct-01 10:07
suss26-Oct-01 10:07 
GeneralChinese (.. or any DBCS) font problems Pin
Navin26-Oct-01 8:56
Navin26-Oct-01 8:56 
GeneralRe: Chinese (.. or any DBCS) font problems Pin
Carlos Antollini26-Oct-01 9:03
Carlos Antollini26-Oct-01 9:03 
GeneralRe: Chinese (.. or any DBCS) font problems Pin
Navin26-Oct-01 9:43
Navin26-Oct-01 9:43 
Generalcalling applications in VC++ etc, Pin
JCY26-Oct-01 8:27
JCY26-Oct-01 8:27 
GeneralRe: calling applications in VC++ etc, Pin
Chris Losinger26-Oct-01 8:34
professionalChris Losinger26-Oct-01 8:34 
GeneralRe: calling applications in VC++ etc, Pin
Carlos Antollini26-Oct-01 8:56
Carlos Antollini26-Oct-01 8:56 
GeneralRe: calling applications in VC++ etc, Pin
Navin26-Oct-01 8:59
Navin26-Oct-01 8:59 
General(mfc) Checking a checkbox during CPropertyPage constructor Pin
Simon Walton26-Oct-01 6:27
Simon Walton26-Oct-01 6:27 
GeneralRe: (mfc) Checking a checkbox during CPropertyPage constructor Pin
Chris Losinger26-Oct-01 6:42
professionalChris Losinger26-Oct-01 6:42 

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.