Advertisement
jewalky

Untitled

Mar 3rd, 2016
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #include "ZTokenizer.hpp"
  2.  
  3. #include <cstdio>
  4.  
  5. int main(int argc, char* argv[])
  6. {
  7. ZTokenizer tok("/* test comment */\n-0.1e+1");
  8. double of;
  9. tok.GetWhitespace();
  10. tok.RequireFloat(of);
  11. printf("float = %f", of);
  12.  
  13. return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement