As I recall there were no info previous in book, maybe I have to just take it as it is and dont ask questions, but still.
- I see that in last two examples in book appeared new value types for placeholders , with & in the begining. like here:
metersToInches(meters, &feet, &inches);
What are these? Why is & needed?
- Looking at examples, and dont understand, when to declare a double or int. Why should I say that rawFeet is double? Why cannot it be int ?
double rawFeet = meters * 3.281;
- Cannot understand what this functon means.
unsigned int feet = (unsigned int)floor(rawFeet);