hello there,
i have something confused.
if i type this
then typing ;Code:enum days { sun, mon, tue, wed, thu, fri, sat };
should not result in outputing "mon" ?Code:cout << days(1);
when i do this it outputs the number '1' instead of the day behind this number (sun=0, mon=1)
why is that?