paul.w Posted April 23, 2014 Share 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? Link to comment
ulf.schroeter Posted April 23, 2014 Share 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 Link to comment
Recommended Posts