HTML code is as follows, why output are all zero, should not be 1 1 1 0 0 1 0 0, exactly what is going wrong, about for a long time, please teach
# include & lt; Iostream>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
Map_test2. TXT file below:
CodePudding user response:
Do not use the string as char []
2 strtok use wrong here also don't have to delete it directly