Click here to Skip to main content
15,881,741 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Change LVS_ALIGNLEFT by LVS_ALIGNTOP Pin
_Flaviu30-Sep-14 0:35
_Flaviu30-Sep-14 0:35 
GeneralRe: Change LVS_ALIGNLEFT by LVS_ALIGNTOP Pin
Richard MacCutchan30-Sep-14 0:45
mveRichard MacCutchan30-Sep-14 0:45 
GeneralRe: Change LVS_ALIGNLEFT by LVS_ALIGNTOP Pin
_Flaviu30-Sep-14 1:43
_Flaviu30-Sep-14 1:43 
GeneralRe: Change LVS_ALIGNLEFT by LVS_ALIGNTOP Pin
Richard MacCutchan30-Sep-14 6:02
mveRichard MacCutchan30-Sep-14 6:02 
GeneralRe: Change LVS_ALIGNLEFT by LVS_ALIGNTOP Pin
_Flaviu30-Sep-14 21:52
_Flaviu30-Sep-14 21:52 
GeneralRe: Change LVS_ALIGNLEFT by LVS_ALIGNTOP Pin
_Flaviu1-Oct-14 21:53
_Flaviu1-Oct-14 21:53 
Questionkuch ni milya..... Pin
Member 1111991229-Sep-14 22:52
Member 1111991229-Sep-14 22:52 
QuestionFunction in namespace - multiple definition Pin
elelont229-Sep-14 21:21
elelont229-Sep-14 21:21 
Hi,
i cannot figure this out:

hpp:
C++
namespace ContractStorage
{
std::string DoIt(ContractName c); // Declaration
}


cpp:
C++
namespace ContractStorage
{
std::string DoIt(ContractName c)
{
 printf("yes");
}
}


It says: multiple definition of `ContractStorage::DoIt(ContractStorage::ContractName)'

How can this be, i only have the decalaration in the hpp file?

I have a class declaration in the same file, it does not complain about that...
QuestionRe: Function in namespace - multiple definition Pin
Richard MacCutchan29-Sep-14 21:28
mveRichard MacCutchan29-Sep-14 21:28 
AnswerRe: Function in namespace - multiple definition Pin
elelont229-Sep-14 21:35
elelont229-Sep-14 21:35 
GeneralRe: Function in namespace - multiple definition Pin
Richard MacCutchan29-Sep-14 21:58
mveRichard MacCutchan29-Sep-14 21:58 
AnswerRe: Function in namespace - multiple definition Pin
Albert Holguin30-Sep-14 2:43
professionalAlbert Holguin30-Sep-14 2:43 
QuestionVector Iterator Incompatible Pin
mjackson1129-Sep-14 10:07
mjackson1129-Sep-14 10:07 
AnswerRe: Vector Iterator Incompatible Pin
Chris Losinger29-Sep-14 10:20
professionalChris Losinger29-Sep-14 10:20 
GeneralRe: Vector Iterator Incompatible Pin
mjackson1129-Sep-14 12:10
mjackson1129-Sep-14 12:10 
QuestionFormview scroll problem Pin
john563229-Sep-14 2:45
john563229-Sep-14 2:45 
QuestionSocket Programming(UDP) Pin
A_Fa28-Sep-14 20:48
A_Fa28-Sep-14 20:48 
AnswerRe: Socket Programming(UDP) Pin
Richard MacCutchan28-Sep-14 22:02
mveRichard MacCutchan28-Sep-14 22:02 
GeneralRe: Socket Programming(UDP) Pin
A_Fa28-Sep-14 22:17
A_Fa28-Sep-14 22:17 
GeneralRe: Socket Programming(UDP) Pin
Richard MacCutchan28-Sep-14 22:30
mveRichard MacCutchan28-Sep-14 22:30 
Questionmatrix svd decomposition problem Pin
includeh1028-Sep-14 11:29
includeh1028-Sep-14 11:29 
AnswerRe: matrix svd decomposition problem Pin
Richard MacCutchan28-Sep-14 22:01
mveRichard MacCutchan28-Sep-14 22:01 
AnswerRe: matrix svd decomposition problem Pin
CPallini28-Sep-14 22:01
mveCPallini28-Sep-14 22:01 
GeneralRe: matrix svd decomposition problem Pin
includeh1029-Sep-14 4:17
includeh1029-Sep-14 4:17 
GeneralRe: matrix svd decomposition problem Pin
CPallini29-Sep-14 5:17
mveCPallini29-Sep-14 5:17 

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.