View Single Post
Newbie Member
20Sep2012,06:12  
lady_krizzie's Avatar
Is it like this? I put it this way but it didn't work.

Code:
case '-':
			if (input_string[i-1]==' ') // there is a space before the negative part
			{
				return (OPERAND);
			}
			else
			{
				return (OPERATOR);
			}