Saturday, January 14, 2012

Can public variables be accessed by nonmember functions in C++?

Can variables in a cl be accessed by a nonmember void function? I always thought they could, but my compiler hasn't been letting me. If they can, why would this be happening and how can I fix it?

No comments:

Post a Comment