Click here to Skip to main content
15,892,805 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Check for validity of IP address Pin
David Crow25-Mar-10 3:20
David Crow25-Mar-10 3:20 
GeneralRe: Check for validity of IP address Pin
CPallini25-Mar-10 3:48
mveCPallini25-Mar-10 3:48 
QuestionTools for reverse engineering Pin
tom groezer25-Mar-10 0:58
tom groezer25-Mar-10 0:58 
AnswerRe: Tools for reverse engineering Pin
enhzflep25-Mar-10 3:07
enhzflep25-Mar-10 3:07 
Questionerror LNK2005...already defined in .... Pin
rupeshkp72825-Mar-10 0:26
rupeshkp72825-Mar-10 0:26 
AnswerRe: error LNK2005...already defined in .... Pin
Eugen Podsypalnikov25-Mar-10 0:53
Eugen Podsypalnikov25-Mar-10 0:53 
GeneralRe: error LNK2005...already defined in .... Pin
rupeshkp72825-Mar-10 1:07
rupeshkp72825-Mar-10 1:07 
GeneralRe: error LNK2005...already defined in .... Pin
Eugen Podsypalnikov25-Mar-10 1:17
Eugen Podsypalnikov25-Mar-10 1:17 
It could be made as following Smile | :) :
// CommonSettings.h
...
// unsigned char X1[16]; // no "declaration" needed
...

// Main.cpp
...
unsigned char X1[16]; // a "real" instance
...

// BC.cpp
...
extern unsigned char X1[16]; // a "shared" instance
...

// RS.cpp
...
extern unsigned char X1[16]; // a "shared" instance as well
...

(The answer would be different
when you would like to share a type (not an instance),
but the X1 is an instance (not a type)... Smile | :) )
virtual void BeHappy() = 0;

GeneralRe: error LNK2005...already defined in .... Pin
rupeshkp72825-Mar-10 1:33
rupeshkp72825-Mar-10 1:33 
GeneralRe: error LNK2005...already defined in .... Pin
Eugen Podsypalnikov25-Mar-10 2:12
Eugen Podsypalnikov25-Mar-10 2:12 
GeneralRe: error LNK2005...already defined in .... Pin
rupeshkp72825-Mar-10 2:21
rupeshkp72825-Mar-10 2:21 
QuestionConnection with mysql an Crecordset Pin
Shivanand Gupta24-Mar-10 23:47
Shivanand Gupta24-Mar-10 23:47 
AnswerRe: Connection with mysql an Crecordset Pin
CPallini25-Mar-10 0:14
mveCPallini25-Mar-10 0:14 
GeneralRe: Connection with mysql an Crecordset Pin
Shivanand Gupta25-Mar-10 20:48
Shivanand Gupta25-Mar-10 20:48 
QuestionRe: Connection with mysql an Crecordset Pin
CPallini25-Mar-10 21:42
mveCPallini25-Mar-10 21:42 
QuestionData encryption Pin
Code-o-mat24-Mar-10 23:02
Code-o-mat24-Mar-10 23:02 
AnswerRe: Data encryption Pin
BIJU Manjeri24-Mar-10 23:26
BIJU Manjeri24-Mar-10 23:26 
GeneralRe: Data encryption Pin
Code-o-mat24-Mar-10 23:49
Code-o-mat24-Mar-10 23:49 
GeneralRe: Data encryption Pin
Covean25-Mar-10 22:13
Covean25-Mar-10 22:13 
GeneralRe: Data encryption Pin
Code-o-mat25-Mar-10 22:32
Code-o-mat25-Mar-10 22:32 
GeneralRe: Data encryption Pin
Covean25-Mar-10 23:05
Covean25-Mar-10 23:05 
GeneralRe: Data encryption Pin
Code-o-mat25-Mar-10 23:07
Code-o-mat25-Mar-10 23:07 
GeneralRe: Data encryption Pin
Covean25-Mar-10 23:13
Covean25-Mar-10 23:13 
Questionline thinkness Pin
arun_pk24-Mar-10 22:06
arun_pk24-Mar-10 22:06 
QuestionRe: line thinkness Pin
CPallini24-Mar-10 22:10
mveCPallini24-Mar-10 22:10 

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.