How can I use python range indexing in c++?

前端 未结 0 2031
暖寄归人
暖寄归人 2021-02-19 12:36
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

相关标签:
回答
  • 消灭零回复
提交回复
热议问题