T
tz
The statement below is resulting in this error:
C:\Documents and Settings\Teddy\My Documents\Visual Studio
Projects\Calendar\Calendar.cs(181): Operator '&&' cannot
be applied to operands of type 'int' and 'bool'
int mmonth,m;
if((mmonth = 1) && ((m > 1) && (m < 14)))
I tried to change the second argument to a bool and
received the same error.
What is going on? Does someone have suggestions please?
C:\Documents and Settings\Teddy\My Documents\Visual Studio
Projects\Calendar\Calendar.cs(181): Operator '&&' cannot
be applied to operands of type 'int' and 'bool'
int mmonth,m;
if((mmonth = 1) && ((m > 1) && (m < 14)))
I tried to change the second argument to a bool and
received the same error.
What is going on? Does someone have suggestions please?