Created
November 18, 2020 14:55
-
-
Save Shikugawa/9a03f9cf1c7f7a014d6a105fad97a2b7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
int main() { | |
int a = 0; | |
int l = 1; | |
printf("%i | ", l); | |
for (auto s : cs->value.elem) { | |
printf("0x%.2x ", s); | |
if (a == 7) { | |
std::cout << std::endl; | |
a = 0; | |
++l; | |
printf("%i | ", l); | |
} else { | |
++a; | |
} | |
} | |
std::cout << std::endl; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment