Split string C++ by '\'

后端 未结 0 779
暖寄归人
暖寄归人 2020-12-13 04:12

I\'m trying to split a path from Windows by \'\' , but when I\'m running my program crashes. Here\'s a small example:

char*s = "C:\\\\windows\\\\system32         


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