Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. The file contains 48 strings
  2. ? 2
  3. offset: 118; size: 107
  4. size_t read(istream &in){ size_t value; in.read(reinterpret_cast<char *>(&value), sizeof(uint16_t)); �
  5. ? 0
  6. offset: 100; size: 43
  7. #include "main.ih"size_t read(istream &in){�
  8. ? 2
  9. offset: 118; size: 107
  10. size_t read(istream &in){ size_t value; in.read(reinterpret_cast<char *>(&value), sizeof(uint16_t)); �
  11. ? 9
  12. offset: 250; size: 154
  13. void showString(istream &in, size_t idx, char nStrings){ in.seekg((idx + 1) * sizeof(uint16_t)); // offset of the string size_t offset = read(in);&�
  14. ? 30
  15. offset: 702; size: 99
  16. int main(int argc, char **argv){ ifstream in(argv[1], ios::binary); // may be needed on windows�
  17. ? 36
  18. offset: 832; size: 82
  19. cout << "The file contains " << nStrings << " strings\n"; while (true) {*�
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement