I'm new here but have found it super useful to search the forums when encountering problems so I have been in the background. I am however really stuck with bitsets and have not been able to find a relevant post here or on the internet.
My issues is that I have a number of bitsets that I need to concatenate preferably as char arrays as I know hoe to do this. I can't for the life of me find a way to convert a bitset to a char array. I have tried all sorts from stringstream to sprint but nothing seems to work properly and I keep getting errors.
Does anyone know of a method to convert a bitset into a char array?
Much thanks for your time reading this,