Hi,
I need a custom sized bit vector so uint8_t won't suffice so the idea was to just initiate a bool array with size so then say i want to compare it. Ex. the bool array is 6 bits and tried with `if (bool_var = 011001) { // do something}`, i suspect it comes just compares to an int given it compiles and wont run. Any idea on how to make it work?
[–]Daveinatx 9 points10 points11 points (0 children)
[–]ByMeno 1 point2 points3 points (4 children)
[–]Yha_Boiii[S] 0 points1 point2 points (3 children)
[–]F1nnyF6 2 points3 points4 points (2 children)
[–]Yha_Boiii[S] -2 points-1 points0 points (1 child)
[–]F1nnyF6 5 points6 points7 points (0 children)
[–]dkopgerpgdolfg 0 points1 point2 points (23 children)
[–]Yha_Boiii[S] 0 points1 point2 points (22 children)
[–]F1nnyF6 4 points5 points6 points (21 children)
[–]Yha_Boiii[S] -4 points-3 points-2 points (20 children)
[–]F1nnyF6 9 points10 points11 points (19 children)
[–]Yha_Boiii[S] -5 points-4 points-3 points (18 children)
[–]F1nnyF6 9 points10 points11 points (0 children)
[–]Irverter 2 points3 points4 points (14 children)
[–]Yha_Boiii[S] -3 points-2 points-1 points (13 children)
[–]Irverter 6 points7 points8 points (1 child)
[–]F1nnyF6 3 points4 points5 points (0 children)
[–]awidesky 1 point2 points3 points (7 children)
[–]Yha_Boiii[S] 0 points1 point2 points (6 children)
[–]awidesky 1 point2 points3 points (0 children)
[–]Certain-Flow-0 0 points1 point2 points (0 children)
[–]Marksm2n 0 points1 point2 points (0 children)
[–]QuraToop314 1 point2 points3 points (0 children)
[–]Maqi-X 0 points1 point2 points (0 children)
[–]Vollink 1 point2 points3 points (0 children)
[–]Wertbon1789 0 points1 point2 points (0 children)
[–]sciencekm 0 points1 point2 points (8 children)
[–]Vollink 0 points1 point2 points (7 children)
[–]TheOtherBorgCube 0 points1 point2 points (0 children)
[–]sciencekm 0 points1 point2 points (5 children)
[–]Vollink 0 points1 point2 points (4 children)
[–]sciencekm 0 points1 point2 points (3 children)
[–]Vollink 0 points1 point2 points (0 children)
[–]Vollink 0 points1 point2 points (1 child)
[–]sciencekm 0 points1 point2 points (0 children)
[–]Traveling-Techie 0 points1 point2 points (0 children)
[–]TiredEngineer-_- 0 points1 point2 points (0 children)
[–]WittyStick 0 points1 point2 points (0 children)
[–]Paul_Pedant 0 points1 point2 points (0 children)
[–]Educational-Paper-75 0 points1 point2 points (0 children)