I'm currently trying to learn about using Tokens in basic programs but having a tough time figuring them out. The book I'm learning from is kind of confusing me in a few aspects. What I need help on is:
1. Is "Grammar" a road map used to see where you want the program to go and how it should read things?
2. This code that I'm posting was pretty much taken from the book and said to work, yet when I try and compile it on Dev C++ I get a few errors.
Book: Bjarne Stroustrup's Programming: Principles and Practices using C++ (2009)
Errors: After I removed that extra '}' it was a Linker error - undefined reference to 'get_token()' Id return 1 exit status
I'm also using #include "std_lib_facilities.h". My teacher gave us a long code to use as our header that's supposed to include all the necessary stuff.