Anonymous user
Arithmetic evaluation/C: Difference between revisions
m
Comments
m (Added some comments in) |
m (Comments) |
||
Line 40:
}
/* Will "consume" a character from the input,
* (such as +, -, *, etc.) and return it.
* By consume, I'm really just moving the pointer
* forward and disregarding the character for
* future purposes.
*/
char consume_char(const char* string, char c) {
|