paul.w Posted April 23, 2014 Posted April 23, 2014 if #include <b.cpp> into a.cpp script; then in a.cpp try to access variable from b.cpp; I get an error! How to access variables in other scripts?
ulf.schroeter Posted April 23, 2014 Posted April 23, 2014 make sure to prepend any namespace defined in b.cpp when refering to it within a.cpp script code e.g. namespace_b::var_name_b If this is not the cause for your problems than please post your a.cpp + b.cpp
Recommended Posts