Advertisement
Guest User

Untitled

a guest
Nov 25th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. void WriteBin(string ofilename, long long binarray[], unsigned int size)
  2. {
  3.     ofstream file(ofilename);
  4.     for (int i = 0; i < size; i++)
  5.     {
  6.         file << endl;
  7.         file << hex << binarray[i];
  8.         file << endl;
  9.         file << oct << binarray[i];
  10.     }
  11.  
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement