mirror of
https://github.com/Andreabont/CppExperiments.git
synced 2025-06-30 15:32:10 +00:00
10 lines
166 B
C++
10 lines
166 B
C++
#include <iostream>
|
|
#include "bitpattern.h"
|
|
|
|
int main() {
|
|
|
|
if(0b1101010u == BitPattern("11*1**0")) {
|
|
std::cout << "Match!" << std::endl;
|
|
}
|
|
|
|
}
|