Search Result
Collapse
2 results in 0.0013 seconds.
Keywords
Members
Tags
-
Difference between static and extern keyword
Pls tell me Difference between static and extern keyword -
static extern?
Problem:
A.cpp:
------
static FOO* gFoo=NULL;
A.h
extern FOO* gFoo;
gives: L2001 - unresolved external: "symbol struct FOO* gFoo"
if A.h looks like:
extern static FOO* gFoo;
it gives:
C2159: more than one storage class specified.
<blink, blink>
How would I do this now? I have a prefedined macro that makes a
"static...