Click here to Skip to main content
15,887,886 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: point reference VS value Pin
Stuart Dootson20-Apr-09 19:40
professionalStuart Dootson20-Apr-09 19:40 
GeneralRe: point reference VS value Pin
sharion21-Apr-09 18:05
sharion21-Apr-09 18:05 
GeneralRe: point reference VS value Pin
Stuart Dootson21-Apr-09 21:39
professionalStuart Dootson21-Apr-09 21:39 
GeneralRe: point reference VS value Pin
sharion22-Apr-09 16:00
sharion22-Apr-09 16:00 
QuestionProblem with headers in VS 2008 [modified] Pin
mass8518-Apr-09 10:07
mass8518-Apr-09 10:07 
AnswerRe: Problem with headers in VS 2008 Pin
Luc Pattyn18-Apr-09 10:33
sitebuilderLuc Pattyn18-Apr-09 10:33 
GeneralRe: Problem with headers in VS 2008 Pin
mass8518-Apr-09 11:08
mass8518-Apr-09 11:08 
GeneralRe: Problem with headers in VS 2008 Pin
Stuart Dootson18-Apr-09 11:36
professionalStuart Dootson18-Apr-09 11:36 
mass85 wrote:
Mac is not yet defined, because "Mac.h" was not included in global.h, although I wrote #include "mac.h".

I can't uinderstand why it happens. Why do directives #ifndef, #define stop compiler from including this header. When I delete these directives (#pragma once too) I get multiple inclusion error.


You need to look at it from the source file (ecda.cpp).

You first include mac.h. The first thing you do in mac.h is to include globals.h. The first thing you do in globals.h is to include mac.h...but mac.h is protected from multiple inclusions. That means that the entirety of globals.h is seen BEFORE the content of mac.h

What I'd do, if I were you, is to remove the #include "globals.h" from mac.h - if you look at it, mac.h has no dependency on anything in globals.h

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: Problem with headers in VS 2008 Pin
mass8518-Apr-09 11:45
mass8518-Apr-09 11:45 
GeneralRe: Problem with headers in VS 2008 Pin
Stuart Dootson18-Apr-09 11:49
professionalStuart Dootson18-Apr-09 11:49 
GeneralRe: Problem with headers in VS 2008 Pin
Luc Pattyn18-Apr-09 11:57
sitebuilderLuc Pattyn18-Apr-09 11:57 
GeneralRe: Problem with headers in VS 2008 Pin
mass8518-Apr-09 12:00
mass8518-Apr-09 12:00 
Question[Message Deleted] Pin
marcusab18-Apr-09 9:16
marcusab18-Apr-09 9:16 
AnswerRe: How to copy/convert System::Object^(unsigned char) to local variable Pin
CPallini18-Apr-09 9:54
mveCPallini18-Apr-09 9:54 
Question880129 - class of matrix of complex numbers Pin
ilostmyid218-Apr-09 9:15
professionalilostmyid218-Apr-09 9:15 
AnswerRe: 880129 - class of matrix of complex numbers Pin
CPallini18-Apr-09 9:52
mveCPallini18-Apr-09 9:52 
GeneralRe: 880129 - class of matrix of complex numbers Pin
ilostmyid218-Apr-09 16:22
professionalilostmyid218-Apr-09 16:22 
GeneralRe: 880129 - class of matrix of complex numbers Pin
CPallini19-Apr-09 8:44
mveCPallini19-Apr-09 8:44 
GeneralRe: 880129 - class of matrix of complex numbers Pin
ilostmyid219-Apr-09 18:54
professionalilostmyid219-Apr-09 18:54 
GeneralRe: 880129 - class of matrix of complex numbers Pin
CPallini19-Apr-09 21:25
mveCPallini19-Apr-09 21:25 
GeneralRe: 880129 - class of matrix of complex numbers Pin
ilostmyid220-Apr-09 0:07
professionalilostmyid220-Apr-09 0:07 
GeneralRe: 880129 - class of matrix of complex numbers Pin
CPallini20-Apr-09 0:15
mveCPallini20-Apr-09 0:15 
AnswerRe: 880129 - class of matrix of complex numbers Pin
Stuart Dootson18-Apr-09 11:40
professionalStuart Dootson18-Apr-09 11:40 
GeneralRe: 880129 - class of matrix of complex numbers Pin
ilostmyid218-Apr-09 16:31
professionalilostmyid218-Apr-09 16:31 
GeneralRe: 880129 - class of matrix of complex numbers Pin
Stuart Dootson18-Apr-09 22:49
professionalStuart Dootson18-Apr-09 22:49 

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.