Advertisement
Guest User

Untitled

a guest
Jun 19th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. fin.read ((char *) pBuffer, 1);
  2. iIndex = atoi(pBuffer);
  3. cout << iIndex << "\t";
  4. fin.read ((char *) pBuffer, 1);
  5. iType = atoi(pBuffer);
  6. cout << iType << "\t";
  7. fin.read ((char *) pBuffer, 1);
  8. iSource = pBuffer[0];
  9. cout << iSource << "\t";
  10. fin.read ((char *) pBuffer, 4);
  11. iBidPx = atof(pBuffer);
  12. cout << iBidPx << "\t";
  13. fin.read ((char *) pBuffer, 4);
  14. iAskPx = atof(pBuffer);
  15. cout << iAskPx << "\t";
  16. fin.read ((char *) pBuffer, 2);
  17. iBidSz = atoi(pBuffer);
  18. cout << iBidSz << "\t";
  19. fin.read ((char *) pBuffer, 2);
  20. iAskSz = atoi(pBuffer);
  21. cout << iAskSz << "\n";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement