sugar != Sugar.
Using upper and lower case to denote a class and an object is nice, but it is very easy to mix the two. I would suggest better variable names. At least use sugar1. I prefer hungarian notation. pSugar1
sugar != Sugar.
Using upper and lower case to denote a class and an object is nice, but it is very easy to mix the two. I would suggest better variable names. At least use sugar1. I prefer hungarian notation. pSugar1
It was not just for recreational purposes. I did not get caught in detail. :) But thanks for the advice :)