Bitset header
Posted: Sat Mar 25, 2023 5:22 pm
Hello
I want to shift 80 bits into a esp32 - i saw some examples that are using the #include <bitset>.
#include <stdio.h>
#include <iostream>
#include <bitset>
void app_main(void)
{
std::bitset<80> b("01000000000000000000000000000000");
b >>= 12;
}
For some reason the #include <bitset> is reported as not present (when using F12 - go to definitions - is open the file)
Any solutions?
Thanks
I want to shift 80 bits into a esp32 - i saw some examples that are using the #include <bitset>.
#include <stdio.h>
#include <iostream>
#include <bitset>
void app_main(void)
{
std::bitset<80> b("01000000000000000000000000000000");
b >>= 12;
}
For some reason the #include <bitset> is reported as not present (when using F12 - go to definitions - is open the file)
Any solutions?
Thanks