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

C / C++ / MFC

 
GeneralRe: error Pin
toxcct5-Jun-06 1:23
toxcct5-Jun-06 1:23 
GeneralRe: error Pin
ThatsAlok5-Jun-06 1:29
ThatsAlok5-Jun-06 1:29 
JokeRe: error Pin
toxcct5-Jun-06 1:30
toxcct5-Jun-06 1:30 
AnswerRe: error Pin
Eytukan5-Jun-06 0:53
Eytukan5-Jun-06 0:53 
JokeRe: error Pin
ThatsAlok5-Jun-06 1:30
ThatsAlok5-Jun-06 1:30 
AnswerRe: error Pin
Hamid_RT5-Jun-06 1:03
Hamid_RT5-Jun-06 1:03 
GeneralRe: error Pin
ThatsAlok5-Jun-06 2:31
ThatsAlok5-Jun-06 2:31 
Questioncpp, c, h [modified] Pin
Try4-Jun-06 23:54
Try4-Jun-06 23:54 
I have 3 files

one.cpp
two.c
three.h

In three.h there is a struct

typedef struct
{
int a;
} slvSet;

In one.cpp i have assigned value for a

slvSet set;
set.a = 1;

In two.c i have

extern slvSet set;
------
int b;
b = set.a;

But its giving error - unresolved external symbol.

Help me out

-- modified at 6:14 Monday 5th June, 2006
AnswerRe: cpp, c, h [modified] Pin
toxcct4-Jun-06 23:58
toxcct4-Jun-06 23:58 
GeneralRe: cpp, c, h [modified] Pin
Try5-Jun-06 0:07
Try5-Jun-06 0:07 
GeneralRe: cpp, c, h Pin
toxcct5-Jun-06 0:08
toxcct5-Jun-06 0:08 
AnswerRe: cpp, c, h [modified] Pin
_AnsHUMAN_ 4-Jun-06 23:59
_AnsHUMAN_ 4-Jun-06 23:59 
GeneralRe: cpp, c, h [modified] Pin
Try5-Jun-06 0:08
Try5-Jun-06 0:08 
AnswerRe: cpp, c, h [modified] Pin
Nishad S5-Jun-06 0:09
Nishad S5-Jun-06 0:09 
AnswerRe: cpp, c, h Pin
ThatsAlok5-Jun-06 0:13
ThatsAlok5-Jun-06 0:13 
GeneralRe: cpp, c, h Pin
Try5-Jun-06 0:14
Try5-Jun-06 0:14 
GeneralRe: cpp, c, h Pin
ThatsAlok5-Jun-06 0:51
ThatsAlok5-Jun-06 0:51 
GeneralRe: cpp, c, h Pin
Eytukan5-Jun-06 1:01
Eytukan5-Jun-06 1:01 
GeneralRe: cpp, c, h Pin
ThatsAlok5-Jun-06 2:32
ThatsAlok5-Jun-06 2:32 
AnswerRe: cpp, c, h [modified] Pin
Viorel.5-Jun-06 1:19
Viorel.5-Jun-06 1:19 
QuestionListbox AddString method problem [modified] Pin
Sharath864-Jun-06 23:36
Sharath864-Jun-06 23:36 
AnswerRe: Listbox AddString method problem [modified] Pin
Nishad S5-Jun-06 0:17
Nishad S5-Jun-06 0:17 
GeneralRe: Listbox AddString method problem [modified] Pin
Sharath865-Jun-06 0:20
Sharath865-Jun-06 0:20 
GeneralRe: Listbox AddString method problem [modified] Pin
Nishad S5-Jun-06 0:22
Nishad S5-Jun-06 0:22 
GeneralRe: Listbox AddString method problem [modified] Pin
Sharath865-Jun-06 0:56
Sharath865-Jun-06 0:56 

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.