CppExperiments/BitPattern/main.cpp

11 lines
166 B
C++
Raw Permalink Normal View History

2021-10-21 13:00:01 +00:00
#include <iostream>
#include "bitpattern.h"
int main() {
if(0b1101010u == BitPattern("11*1**0")) {
std::cout << "Match!" << std::endl;
}
}