Forum: C++ Sep 24th, 2009 |
| Replies: 3 Views: 219 Hi all,
Maybe you can help me with this...
in the code
float dot(const Vec3& v) const { return (x * v.x) + (y * v.y) + (z * v.z);}
What is the purpose of the keyword const? Why in the... |
Forum: PHP Apr 30th, 2009 |
| Replies: 13 Views: 1,230 Hi,
Without first knowng what public class variables the class has, how can i display a list of all the variables in that class along with the values?
print_r(new MyClass());
will display... |