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
#pragma once | |
#include <cstdint> | |
struct BMPFileHeader { | |
uint16_t file_type{0x4D42}; | |
uint32_t file_size{0}; | |
uint16_t reserved1{0}; | |
uint16_t reserved2{0}; | |
uint32_t offset_data{0}; |
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
#pragma once | |
#include <cstdint> | |
struct BMPFileHeader { | |
uint16_t file_type{0x4D42}; | |
uint32_t file_size{0}; | |
uint16_t reserved1{0}; | |
uint16_t reserved2{0}; | |
uint32_t offset_data{0}; |
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
// | |
// Created by Владислав on 16.03.2022. | |
// | |
#include "BMPImage.h" |
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
cmake_minimum_required(VERSION 3.21) | |
project(COWS) | |
set(CMAKE_CXX_STANDARD 20) | |
add_executable(COWS main.cpp COWString.cpp StringImpl.cpp) |
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
cmake_minimum_required(VERSION 3.21) | |
project(COWS) | |
set(CMAKE_CXX_STANDARD 20) | |
add_executable(COWS main.cpp COWString.cpp StringImpl.cpp CharReference.cpp) |
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
// | |
// Created by Владислав on 08.03.2022. | |
// | |
#include "BidirectionalStream.h" |