Click here to Skip to main content
16,005,417 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ok... quick and easy... cin.flush(); Pin
Christian Graus19-May-02 16:55
protectorChristian Graus19-May-02 16:55 
GeneralRe: ok... quick and easy... cin.flush(); Pin
Joaquín M López Muñoz19-May-02 19:55
Joaquín M López Muñoz19-May-02 19:55 
GeneralRe: ok... quick and easy... cin.flush(); Pin
SilverShalkin20-May-02 3:53
SilverShalkin20-May-02 3:53 
GeneralRe: ok... quick and easy... cin.flush(); Pin
Abin20-May-02 5:58
Abin20-May-02 5:58 
QuestionC++ question? Pin
19-May-02 15:32
suss19-May-02 15:32 
AnswerRe: C++ question? Pin
Nish Nishant19-May-02 15:42
sitebuilderNish Nishant19-May-02 15:42 
GeneralRe: C++ question? Pin
19-May-02 16:11
suss19-May-02 16:11 
GeneralRe: C++ question? Pin
Christian Graus19-May-02 16:53
protectorChristian Graus19-May-02 16:53 
Instead of doing the cross include, do a forward declaration. IF class A needs to know what class B is, and vice versa, simply do the #include in the .cpp files, and in the header, do this

Class A.h

class B;

class A
{
...

and vice-versa.




Christian

The tragedy of cyberspace - that so much can travel so far, and yet mean so little.

And you don't spend much time with the opposite sex working day and night, unless the pizza delivery person happens to be young, cute, single and female. I can assure you, I've consumed more than a programmer's allotment of pizza, and these conditions have never aligned. - Christopher Duncan - 18/04/2002
GeneralRe: C++ question? Pin
20-May-02 20:57
suss20-May-02 20:57 
AnswerRe: C++ question? Pin
Alvaro Mendez20-May-02 11:23
Alvaro Mendez20-May-02 11:23 
GeneralRe: C++ question? Pin
21-May-02 15:35
suss21-May-02 15:35 
GeneralFocus problems with list control Pin
paulb19-May-02 15:06
paulb19-May-02 15:06 
GeneralRe: Focus problems with list control Pin
Shog919-May-02 16:24
sitebuilderShog919-May-02 16:24 
GeneralRe: Focus problems with list control Pin
paulb19-May-02 17:30
paulb19-May-02 17:30 
GeneralDeterming video card Pin
19-May-02 14:11
suss19-May-02 14:11 
GeneralRe: Determing video card Pin
Paul M Watt19-May-02 21:45
mentorPaul M Watt19-May-02 21:45 
GeneralRe: Determing video card (EnumDisplayDevices problem...) Pin
20-May-02 2:11
suss20-May-02 2:11 
GeneralRe: Determing video card (EnumDisplayDevices problem...) Pin
Paul M Watt20-May-02 4:52
mentorPaul M Watt20-May-02 4:52 
GeneralRe: Determing video card (EnumDisplayDevices problem...) Pin
Paul M Watt20-May-02 4:53
mentorPaul M Watt20-May-02 4:53 
Generalcompiler problem Pin
Steve L.19-May-02 12:26
Steve L.19-May-02 12:26 
GeneralRe: compiler problem Pin
Joaquín M López Muñoz19-May-02 12:40
Joaquín M López Muñoz19-May-02 12:40 
GeneralUnhandled exeption when using shell functions Pin
redeemer19-May-02 11:17
redeemer19-May-02 11:17 
GeneralRe: Unhandled exeption when using shell functions Pin
Joaquín M López Muñoz19-May-02 11:42
Joaquín M López Muñoz19-May-02 11:42 
GeneralRe: Unhandled exeption when using shell functions Pin
redeemer19-May-02 11:47
redeemer19-May-02 11:47 
GeneralRe: Unhandled exeption when using shell functions Pin
Joaquín M López Muñoz19-May-02 12:09
Joaquín M López Muñoz19-May-02 12:09 

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.