Mail Archives: djgpp/2002/05/22/16:39:20
I have loaded DJGPP compiler onto my system running
Windows ME and using the Rhide interface.
If I use the " || " (OR logical operator) I get the following error msg.
"Error: stray ' \355' in program".
If I use the " && " (AND logical operator) the program compiles without
a problem. The simple program is below.
#include <stdio.h>
int main()
{
int a = 12;
if( a >= 4 || a <= 15)
printf("A is valued between 4 and 15");
}
Appreciate your help.
Paul Warren
- Raw text -