Question: So this is the code case for REAL: case REAL: if ( isdigit ( ch ) ) { lexeme + = ch; } else if
So this is the code case for REAL: case REAL:
if isdigitch
lexeme ch;
else if ch
lexeme ch;
return LexItemERR lexeme, linenum;
else
lexstate START;
inputbackch;
return LexItemRCONST lexeme, linenum; And the content of a file I"m reading is this: "Please type the coordinates of three points"
'The center of the circle through these points is
Now for some reason it's not reading the "Please type the coordinates of three points" and after the reading the real tokens. How do i adjust the code so it can return those two tokens to INSTRING and ININT
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
