Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void WriteBin(string ofilename, long long binarray[], unsigned int size)
- {
- ofstream file(ofilename);
- for (int i = 0; i < size; i++)
- {
- file << endl;
- file << hex << binarray[i];
- file << endl;
- file << oct << binarray[i];
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement