This file contains 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> | |
using std::cout, std::endl, std::string; | |
string byte_to_bits(uint8_t byte); | |
char bool_to_char(bool b); | |
int main() { | |
for (int n = 0; n < 256; n++) { |
This file contains 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> | |
#include <vector> | |
using std::cin, std::cout, std::endl, std::vector, std::string, std::atoi; | |
char single_hex(int dec); | |
bool is_whole_number(string s); | |
long long get_input(); |