How to construct a static global variable in C?

In A. H have you actually got the extern declaration within the actual class A? Your question currently says this in words but then your code snippet suggests it is at file level.

The only way I can get the error you are talking about i.e. "storage class specified for foo" is for the following in A.h.

Since your error is on the extern, I'm guessing it doesn't know what the type is.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions