Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
reading from file
#include <iostream>
using namespace std;
int main() {
unsigned int data;
cin >> std::hex;
cout << std::hex;
while (cin >> data)
{
cout << data << endl;
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment