Thursday, 4 April 2013

week seven day 2

I have moved on to constant functions and classes. Using the keyword 'const' you can make anything in C++ unchangeable which solves a lot of problems for example;
int x = 5 const;
this makes the int X unchangable.

No comments:

Post a Comment