|
ThatsAlok wrote: its seems the poster have listened, what you haev said and deleted his post!
a bit too late, but lets applause anyway
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
I answer to this question in two threads but he writes again this question
whitesky
|
|
|
|
|
did you include the file YourFirstClass.h and please help yourself.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Anshuman, don't encourage him to to still repost and repost the same question instead of answering on the same and only thread.
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
Thanks toxcct.
You always have gr8 advices.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
gourav456 wrote: THIS WILL GIVE ERRORS AS syntax error : missing ';'
I guess you have missed to close your class declaration with a ";"
First do that. (I mean in the Yourclass.h Header file)
gourav456 wrote: AND ALSO OTHER ERRORS
What errors ?
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
[My Current Status]
|
|
|
|
|
VuNic wrote: First do that. (I mean in the Yourclass.h Header file)
you going to be flamed by TOX HERE[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Oh my god , I'm running... Btw, Only you brought the notice of the terminator on me.. grrr.... Alokkk....
LoL. .. Dont worry he missed to look at my thread, still I'm yet to receive an offical warning from him
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
[My Current Status]
|
|
|
|
|
VuNic wrote: L. .. Dont worry he missed to look at my thread, still I'm yet to receive an offical warning from him
Consider above post as official Warning!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Even the terminator would forgive me and leave me but not this Sentinal-Alok I guess
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
[My Current Status]
|
|
|
|
|
check the document here sir :
^
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
[My Current Status]
|
|
|
|
|
VuNic wrote: I'm running...
no way, stay here, i'm preparing my flame gun for you...
hey dude, don't worry, you didn't do anything against me nor CP, so... nothing to fear
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
toxcct wrote: i'm preparing my flame gun for you...
What about Water Gun
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
|
Support Withdrawn. Sorry dude
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
[My Current Status]
|
|
|
|
|
VuNic wrote: Support Withdrawn. Sorry dude
Ohhh
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
I answer to you in two message and you asked again
whitesky
|
|
|
|
|
WhiteSky wrote: I answer to you in two message and you asked again
H forget to check his mail i believe
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
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
|
|
|
|
|
did you correctly #include "three.c" in both .cpp and .c files ?
in two.c , change your code for this :
extern slvSet set;
int b;
b = set.a;
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
-- modified at 6:03 Monday 5th June, 2006
|
|
|
|
|
I have included three.h in both files
|
|
|
|
|
|
think it should be set.a where you have written slvSet.a in two.c
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
-- modified at 6:00 Monday 5th June, 2006
|
|
|
|
|
|
acemahesh@yahoo.co.in wrote: slvSet set;
set.a = 1;
You should write slvSet set in file scope...
- NS -
-- modified at 6:09 Monday 5th June, 2006
|
|
|
|