Search Results

Showing results 1 to 2 of 2
Search took 0.01 seconds.
Search: Posts Made By: jakesee
Forum: C++ Sep 24th, 2009
Replies: 3
Views: 219
Posted By jakesee
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
Posted By jakesee
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...
Showing results 1 to 2 of 2

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC