Add project to the uit repository

Этот коммит содержится в:
2024-01-14 19:50:24 +03:00
родитель bbebb175a0
Коммит 52634d6920
2 изменённых файлов: 3 добавлений и 2 удалений

2
.gitignore поставляемый
Просмотреть файл

@@ -2,6 +2,6 @@
/bin /bin
/obj /obj
.layout *.layout
*.depend *.depend
*~ *~

Просмотреть файл

@@ -1,7 +1,8 @@
#include "lab04.h" #include "lab04.h"
#include "calc_bits.h"
#include <string> #include <string>
#include "calc_bits.h"
void print_in_hex(uint8_t byte) { void print_in_hex(uint8_t byte) {
std::cout << std::hex << std::setw(2) << std::setfill('0') << static_cast<int>(byte) << " "; std::cout << std::hex << std::setw(2) << std::setfill('0') << static_cast<int>(byte) << " ";