Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "ZTokenizer.hpp"
- #include <cstdio>
- int main(int argc, char* argv[])
- {
- ZTokenizer tok("/* test comment */\n-0.1e+1");
- double of;
- tok.GetWhitespace();
- tok.RequireFloat(of);
- printf("float = %f", of);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement