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

C / C++ / MFC

 
QuestionUnresolved token error Pin
73Zeppelin18-Jan-07 0:49
73Zeppelin18-Jan-07 0:49 
AnswerRe: Unresolved token error Pin
Cedric Moonen18-Jan-07 0:52
Cedric Moonen18-Jan-07 0:52 
GeneralRe: Unresolved token error Pin
73Zeppelin18-Jan-07 0:58
73Zeppelin18-Jan-07 0:58 
AnswerRe: Unresolved token error Pin
73Zeppelin18-Jan-07 1:56
73Zeppelin18-Jan-07 1:56 
GeneralRe: Unresolved token error Pin
Cedric Moonen18-Jan-07 2:35
Cedric Moonen18-Jan-07 2:35 
GeneralRe: Unresolved token error Pin
73Zeppelin18-Jan-07 2:43
73Zeppelin18-Jan-07 2:43 
GeneralRe: Unresolved token error Pin
jhwurmbach18-Jan-07 2:47
jhwurmbach18-Jan-07 2:47 
GeneralRe: Unresolved token error Pin
73Zeppelin18-Jan-07 3:04
73Zeppelin18-Jan-07 3:04 
jhwurmbach wrote:
Is the header included in some namespace, and the code is not?



No, not at all. I mean I've added these files to projects before with no problems. This is the first time I have used Visual Studio 2005 Express and I seem to be having "migration issues". Previously I was using VC6.

I don't have access to the code at the moment, but I will give you an example.

I have a Form application and on Form1 there is a button. In the button click event I calculate some statistics. In the statistics.cpp and statistics.h files I have my code. At the top of Form1.h I put
#include "statistics.h"

Let's say the function I want to use is NormalDistribution(x). This actually appears in the Solution Explorer as a global function. So, in the button click event handler I write something like:
double Result = NormalDistribution(x);

It compiles, but when it gets to the linking stage, I get the errors. The statistics.cpp and statistics.h show up in the solution explorer, etc... so this is quite strange.



Windows with no internet connection is safe, but that's not what Windows was built for.

QuestionDereferencing an normal array [modified] Pin
zqueezy18-Jan-07 0:36
zqueezy18-Jan-07 0:36 
AnswerRe: Dereferencing an normal array Pin
Iain Clarke, Warrior Programmer18-Jan-07 1:54
Iain Clarke, Warrior Programmer18-Jan-07 1:54 
GeneralNONONO need still help! Pin
zqueezy18-Jan-07 4:35
zqueezy18-Jan-07 4:35 
GeneralRe: NONONO need still help! Pin
El Corazon18-Jan-07 4:58
El Corazon18-Jan-07 4:58 
AnswerRe: Dereferencing an normal array Pin
El Corazon18-Jan-07 5:20
El Corazon18-Jan-07 5:20 
GeneralWow Pin
zqueezy18-Jan-07 11:24
zqueezy18-Jan-07 11:24 
GeneralRe: Wow Pin
El Corazon18-Jan-07 11:43
El Corazon18-Jan-07 11:43 
QuestionHow to create nice toolbar in CDialog app Pin
PatrykDabrowski18-Jan-07 0:04
PatrykDabrowski18-Jan-07 0:04 
AnswerRe: How to create nice toolbar in CDialog app Pin
Nibu babu thomas18-Jan-07 0:28
Nibu babu thomas18-Jan-07 0:28 
AnswerRe: How to create nice toolbar in CDialog app Pin
Hamid_RT18-Jan-07 0:41
Hamid_RT18-Jan-07 0:41 
AnswerRe: How to create nice toolbar in CDialog app Pin
Hamid_RT18-Jan-07 6:27
Hamid_RT18-Jan-07 6:27 
AnswerRe: How to create nice toolbar in CDialog app Pin
Mark Salsbery18-Jan-07 6:32
Mark Salsbery18-Jan-07 6:32 
Questionthe exception breakpoint... Pin
shivapriyak18-Jan-07 0:03
shivapriyak18-Jan-07 0:03 
AnswerRe: the exception breakpoint... Pin
toxcct18-Jan-07 0:11
toxcct18-Jan-07 0:11 
QuestionNeed to help in file reading in win32 Pin
amitmistry_petlad 17-Jan-07 23:54
amitmistry_petlad 17-Jan-07 23:54 
AnswerRe: Need to help in file reading in win32 Pin
Roger Stoltz18-Jan-07 0:23
Roger Stoltz18-Jan-07 0:23 
GeneralRe: Need to help in file reading in win32 Pin
amitmistry_petlad 18-Jan-07 0:30
amitmistry_petlad 18-Jan-07 0:30 

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.