string=\'00000001000010011000100000100000\' print(string[0:6])
How can I do this in c++? And is it possible to do it in c++ without a for loop? Thanks