Forum Discussion
Altera_Forum
Honored Contributor
16 years agoabout niosII
Hi, I write in NiosII this instruction int a,b; int r; a=4; b=98; r=a&&b; the problem i have a message error ,when i use && ,I don't know why ? can sameone help me to use this com...
Altera_Forum
Honored Contributor
16 years agoThe sintax is correct.
What's the compiler error message? PS: I'd recommend spaces to separate && symbol (logical AND); although this is not mandatory, it will improve code readability.