My code is set up like this
facilities.h which is pre-written
the error is:
1>my.obj : error LNK2001: unresolved external symbol "int foo" (?foo@@3HA)
1>c:\users\mattdesktop\documents\visual studio 2010\hw\chp8drill\Debug\chp8drill.exe : fatal error LNK1120: 1 unresolved externals
In my.h, you claim there is an external global integer called foo, but I don't see such a thing defined anywhere. Note that the foo in use.cpp is local and not a candidate for that reference.