Click here to Skip to main content
15,891,777 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: FTP Client Pin
Buck25-May-00 12:30
Buck25-May-00 12:30 
GeneralRe: FTP Client Pin
beretta30-May-00 4:50
beretta30-May-00 4:50 
GeneralRe: FTP Client Pin
beretta30-May-00 4:50
beretta30-May-00 4:50 
GeneralRe: FTP Client Pin
beretta30-May-00 4:51
beretta30-May-00 4:51 
GeneralCRichEditCtrl and Print Preview Pin
Tim Brown23-May-00 4:46
Tim Brown23-May-00 4:46 
GeneralAdding Bars, Buttons, Menu to the IE Pin
sql23-May-00 3:14
sql23-May-00 3:14 
GeneralRe: Adding Bars, Buttons, Menu to the IE Pin
Masaaki Onishi23-May-00 5:12
Masaaki Onishi23-May-00 5:12 
General(Hopefully) a simple question on classes and inheritance. Pin
Erich Ruth22-May-00 11:54
Erich Ruth22-May-00 11:54 
I developed several class using unix g++ compiler. I developed
one class in particular, called CEditString, that edits string
pointers. Every other class that I created uses this CEditString
class. At the top of all these other classes, I type

#include "EditString.H"

and within that class I type

public:
CEditString EditString;

The problem is, when I compile, I get the following error:

/code/EditString.H: In method `CEditString::CEditString()':
In file included from /code/AtomLocation.H:11,
from /code/ProteinStructure.H:13,
from topView.C:7:
/code/EditString.H:56: redefinition of `CEditString::CEditString()'
/code/EditString.H:56: `CEditString::CEditString()' previously
defined here.

I know that I am redefining the class, but if I don't redefine,
then I get that error that 'CEditString' undeclared. This is
really frustrating. Is there any way of destroying the class
so that when I do call it, I am not redefining it?

Please, any response any one can give me will be greatly
appreciated.

Sincerely,
Erich J. Ruth (an overworked graduate student)
GeneralRe: (Hopefully) a simple question on classes and inheritance. Pin
Masaaki Onishi22-May-00 13:23
Masaaki Onishi22-May-00 13:23 
GeneralRe: (Hopefully) a simple question on classes and inheritance. Pin
James Curran26-May-00 8:27
James Curran26-May-00 8:27 
GeneralRe: I already noticed this. Pin
Masaaki Onishi26-May-00 11:51
Masaaki Onishi26-May-00 11:51 
GeneralRe: (Hopefully) a simple question on classes and inheritance. Pin
Chris Meech23-May-00 7:04
Chris Meech23-May-00 7:04 
GeneralRe: (Hopefully) a simple question on classes and inheritance. Pin
Member 432125-May-00 11:28
Member 432125-May-00 11:28 
GeneralUse a Text file to open my doc in a CRichEditView Pin
Olivier Cheneson22-May-00 7:11
sussOlivier Cheneson22-May-00 7:11 
QuestionNew browser as child window of existing one? Pin
mahesh22-May-00 2:40
mahesh22-May-00 2:40 
AnswerRe: New browser as child window of existing one? Pin
Erik Thompson22-May-00 12:12
sitebuilderErik Thompson22-May-00 12:12 
GeneralRe: New browser as child window of existing one? Pin
mahesh23-May-00 2:36
mahesh23-May-00 2:36 
GeneralRe: New browser as child window of existing one? Pin
Brian Hart25-Jun-00 13:30
Brian Hart25-Jun-00 13:30 
GeneralInternet Priority level Pin
Buck21-May-00 12:04
Buck21-May-00 12:04 
GeneralRe: Internet Priority level Pin
Arvind2321-May-00 20:08
Arvind2321-May-00 20:08 
GeneralRe: Internet Priority level Pin
Buck22-May-00 11:16
Buck22-May-00 11:16 
GeneralActiveX/COM registration problem. Pin
Member 237521-May-00 5:34
Member 237521-May-00 5:34 
GeneralRe: ActiveX/COM registration problem. Pin
Alex Gorev23-May-00 3:58
Alex Gorev23-May-00 3:58 
Questionhow to get the message when the user clicked the uparrow? Pin
Member 456620-May-00 16:29
Member 456620-May-00 16:29 
AnswerRe: how to get the message when the user clicked the uparrow? Pin
pr0digy122-May-00 20:44
pr0digy122-May-00 20:44 

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.