User: DeKonTiki

  • Public profile

User profile: DeKonTiki

User info
User name:DeKonTiki
History
Joined:
Number of posts:5
Latest posts:

Classes and const member functions
Thank you, that solved the problem. My rotated function in Point class was indeed not set to const.

Classes and const member functions
I have two classes called Point and Triangle. [code] class Point { public: double x; ...

Confused about const and & in member funnctions
I am learning about creating a class and its member functions but am having a hard time understandin...

Rotating a point in 2D shows inaccurate result
Changing it to (angle*M_PI/180) worked and gave (-1, 1.22465e-16). Thank you all! :D

Rotating a point in 2D shows inaccurate result
I'm trying to create a member function called 'rotated' in class 'Point'. However when I try to rota...

This user does not accept Private Messages