| | |
| | | |
| | | void test3() { |
| | | |
| | | std::ifstream fin("test.txt"); |
| | | std::ifstream fin("test2.txt"); |
| | | char line[1024]; |
| | | //std::string line; |
| | | char *targetIdStr; |
| | |
| | | char *targetPointYstr; |
| | | //{"x":148,"y":45},{"x":148,"y":539},{"x":769,"y":539},{"x":769,"y":45} |
| | | Record record; |
| | | IndirectAlg indirectAlg((std::initializer_list<Point>){{148, 45}, {148, 539}, {769, 539}, {769, 45} }, 5, {621, 0}); |
| | | IndirectAlg indirectAlg((std::initializer_list<Point>){{148, 45}, {148, 539}, {769, 539}, {769, 45} }, 2, {621, 0}); |
| | | |
| | | // const char *delim = " "; |
| | | while(fin.getline(line, 1024)) { |