I want to be able to declare a global variable in a header/source file and then use it in some other source file which has #included it, like
I looked around in some files like errno.h and could find the "extern" keyword plus other crazy stuff like _RTLENTRY, _EXPFUNC and _UNDERSCOREZZ.
char* main ()
ineger = 45;
I looked around some and it seemed to me that extern does what I want, but it didn't work. I would get
Compiler: bcc32 5.6.1
Error: Unresolved external '_integer' referenced from sth.obj