Record Detail

Compile Error

/in/lab7.cpp:361:9: error: stray '\302' in program
          ostringstream result;
         ^
/in/lab7.cpp:361:10: error: stray '\240' in program
          ostringstream result;
          ^
/in/lab7.cpp:362:18: error: stray '\302' in program
                     for (int y = -5; y < Board_D + 5; y++) {
                  ^
/in/lab7.cpp:362:19: error: stray '\240' in program
                     for (int y = -5; y < Board_D + 5; y++) {
                   ^
/in/lab7.cpp:362:21: error: stray '\302' in program
                     for (int y = -5; y < Board_D + 5; y++) {
                     ^
/in/lab7.cpp:362:22: error: stray '\240' in program
                     for (int y = -5; y < Board_D + 5; y++) {
                      ^
/in/lab7.cpp:363:18: error: stray '\302' in program
                         for (int x = -5; x < Board_R + 5; x++) {
                  ^
/in/lab7.cpp:363:19: error: stray '\240' in program
                         for (int x = -5; x < Board_R + 5; x++) {
                   ^
/in/lab7.cpp:363:21: error: stray '\302' in program
                         for (int x = -5; x < Board_R + 5; x++) {
                     ^
/in/lab7.cpp:363:22: error: stray '\240' in program
                         for (int x = -5; x < Board_R + 5; x++) {
                      ^
/in/lab7.cpp:363:24: error: stray '\302' in program
                         for (int x = -5; x < Board_R + 5; x++) {
                        ^
/in/lab7.cpp:363:25: error: stray '\240' in program
                         for (int x = -5; x < Board_R + 5; x++) {
                         ^
/in/lab7.cpp:363:27: error: stray '\302' in program
                         for (int x = -5; x < Board_R + 5; x++) {
                           ^
/in/lab7.cpp:363:28: error: stray '\240' in program
                         for (int x = -5; x < Board_R + 5; x++) {
                            ^
/in/lab7.cpp:364:18: error: stray '\302' in program
                             char cur = ' ';
                  ^
/in/lab7.cpp:364:19: error: stray '\240' in program
                             char cur = ' ';
                   ^
/in/lab7.cpp:364:21: error: stray '\302' in program
                             char cur = ' ';
                     ^
/in/lab7.cpp:364:22: error: stray '\240' in program
                             char cur = ' ';
                      ^
/in/lab7.cpp:364:24: error: stray '\302' in program
                             char cur = ' ';
                        ^
/in/lab7.cpp:364:25: error: stray '\240' in program
                             char cur = ' ';
                         ^
/in/lab7.cpp:364:27: error: stray '\302' in program
                             char cur = ' ';
                           ^
/in/lab7.cpp:364:28: error: stray '\240' in program
                             char cur = ' ';
                            ^
/in/lab7.cpp:364:30: error: stray '\302' in program
                             char cur = ' ';
                              ^
/in/lab7.cpp:364:31: error: stray '\240' in program
                             char cur = ' ';
                               ^
/in/lab7.cpp:364:33: error: stray '\302' in program
                             char cur = ' ';
                                 ^
/in/lab7.cpp:364:34: error: stray '\240' in program
                             char cur = ' ';
                                  ^
/in/lab7.cpp:365:18: error: stray '\302' in program
                             Vector2<int> curPos(x, y);
                  ^
/in/lab7.cpp:365:19: error: stray '\240' in program
                             Vector2<int> curPos(x, y);
                   ^
/in/lab7.cpp:365:21: error: stray '\302' in program
                             Vector2<int> curPos(x, y);
                     ^
/in/lab7.cpp:365:22: error: stray '\240' in program
                             Vector2<int> curPos(x, y);
                      ^
/in/lab7.cpp:365:24: error: stray '\302' in program
                             Vector2<int> curPos(x, y);
                        ^
/in/lab7.cpp:365:25: error: stray '\240' in program
                             Vector2<int> curPos(x, y);
                         ^
/in/lab7.cpp:365:27: error: stray '\302' in program
                             Vector2<int> curPos(x, y);
                           ^
/in/lab7.cpp:365:28: error: stray '\240' in program
                             Vector2<int> curPos(x, y);
                            ^
/in/lab7.cpp:365:30: error: stray '\302' in program
                             Vector2<int> curPos(x, y);
                              ^
/in/lab7.cpp:365:31: error: stray '\240' in program
                             Vector2<int> curPos(x, y);
                               ^
/in/lab7.cpp:365:33: error: stray '\302' in program
                             Vector2<int> curPos(x, y);
                                 ^
/in/lab7.cpp:365:34: error: stray '\240' in program
                             Vector2<int> curPos(x, y);
                                  ^
/in/lab7.cpp:366:18: error: stray '\302' in program
                             if (x < Board_R || y < Board_D || x >= Board_L
                  ^
/in/lab7.cpp:366:19: error: stray '\240' in program
                             if (x < Board_R || y < Board_D || x >= Board_L
                   ^
/in/lab7.cpp:366:21: error: stray '\302' in program
                             if (x < Board_R || y < Board_D || x >= Board_L
                     ^
/in/lab7.cpp:366:22: error: stray '\240' in program
                             if (x < Board_R || y < Board_D || x >= Board_L
                      ^
/in/lab7.cpp:366:24: error: stray '\302' in program
                             if (x < Board_R || y < Board_D || x >= Board_L
                        ^
/in/lab7.cpp:366:25: error: stray '\240' in program
                             if (x < Board_R || y < Board_D || x >= Board_L
                         ^
/in/lab7.cpp:366:27: error: stray '\302' in program
                             if (x < Board_R || y < Board_D || x >= Board_L
                           ^
/in/lab7.cpp:366:28: error: stray '\240' in program
                             if (x < Board_R || y < Board_D || x >= Board_L
                            ^
/in/lab7.cpp:366:30: error: stray '\302' in program
                             if (x < Board_R || y < Board_D || x >= Board_L
                              ^
/in/lab7.cpp:366:31: error: stray '\240' in program
                             if (x < Board_R || y < Board_D || x >= Board_L
                               ^
/in/lab7.cpp:366:33: error: stray '\302' in program
                             if (x < Board_R || y < Board_D || x >= Board_L
                                 ^
/in/lab7.cpp:366:34: error: stray '\240' in program
                             if (x < Board_R || y < Board_D || x >= Board_L
                                  ^
/in/lab7.cpp:368:18: error: stray '\302' in program
                             if (tanks[0].X == curPos.x&&tanks[0].Y==curPos.y) cur = 'A';
                  ^
/in/lab7.cpp:368:19: error: stray '\240' in program
                             if (tanks[0].X == curPos.x&&tanks[0].Y==curPos.y) cur = 'A';
                   ^
/in/lab7.cpp:368:21: error: stray '\302' in program
                             if (tanks[0].X == curPos.x&&tanks[0].Y==curPos.y) cur = 'A';
                     ^
/in/lab7.cpp:368:22: error: stray '\240' in program
                             if (tanks[0].X == curPos.x&&tanks[0].Y==curPos.y) cur = 'A';
                      ^
/in/lab7.cpp:368:24: error: stray '\302' in program
                             if (tanks[0].X == curPos.x&&tanks[0].Y==curPos.y) cur = 'A';
                        ^
/in/lab7.cpp:368:25: error: stray '\240' in program
                             if (tanks[0].X == curPos.x&&tanks[0].Y==curPos.y) cur = 'A';
                         ^
/in/lab7.cpp:368:27: error: stray '\302' in program
                             if (tanks[0].X == curPos.x&&tanks[0].Y==curPos.y) cur = 'A';
                           ^
/in/lab7.cpp:368:28: error: stray '\240' in program
                             if (tanks[0].X == curPos.x&&tanks[0].Y==curPos.y) cur = 'A';
                            ^
/in/lab7.cpp:368:30: error: stray '\302' in program
                             if (tanks[0].X == curPos.x&&tanks[0].Y==curPos.y) cur = 'A';
                              ^
/in/lab7.cpp:368:31: error: stray '\240' in program
                             if (tanks[0].X == curPos.x&&tanks[0].Y==curPos.y) cur = 'A';
                               ^
/in/lab7.cpp:368:33: error: stray '\302' in program
                             if (tanks[0].X == curPos.x&&tanks[0].Y==curPos.y) cur = 'A';
                                 ^
/in/lab7.cpp:368:34: error: stray '\240' in program
                             if (tanks[0].X == curPos.x&&tanks[0].Y==curPos.y) cur = 'A';
                                  ^
/in/lab7.cpp:369:18: error: stray '\302' in program
                             if (tanks[1].X == curPos.x&&tanks[1].Y==curPos.y) cur = 'B';
                  ^
/in/lab7.cpp:369:19: error: stray '\240' in program
                             if (tanks[1].X == curPos.x&&tanks[1].Y==curPos.y) cur = 'B';
                   ^
/in/lab7.cpp:369:21: error: stray '\302' in program
                             if (tanks[1].X == curPos.x&&tanks[1].Y==curPos.y) cur = 'B';
                     ^
/in/lab7.cpp:369:22: error: stray '\240' in program
                             if (tanks[1].X == curPos.x&&tanks[1].Y==curPos.y) cur = 'B';
                      ^
/in/lab7.cpp:369:24: error: stray '\302' in program
                             if (tanks[1].X == curPos.x&&tanks[1].Y==curPos.y) cur = 'B';
                        ^
/in/lab7.cpp:369:25: error: stray '\240' in program
                             if (tanks[1].X == curPos.x&&tanks[1].Y==curPos.y) cur = 'B';
                         ^
/in/lab7.cpp:369:27: error: stray '\302' in program
                             if (tanks[1].X == curPos.x&&tanks[1].Y==curPos.y) cur = 'B';
                           ^
/in/lab7.cpp:369:28: error: stray '\240' in program
                             if (tanks[1].X == curPos.x&&tanks[1].Y==curPos.y) cur = 'B';
                            ^
/in/lab7.cpp:369:30: error: stray '\302' in program
                             if (tanks[1].X == curPos.x&&tanks[1].Y==curPos.y) cur = 'B';
                              ^
/in/lab7.cpp:369:31: error: stray '\240' in program
                             if (tanks[1].X == curPos.x&&tanks[1].Y==curPos.y) cur = 'B';
                               ^
/in/lab7.cpp:369:33: error: stray '\302' in program
                             if (tanks[1].X == curPos.x&&tanks[1].Y==curPos.y) cur = 'B';
                                 ^
/in/lab7.cpp:369:34: error: stray '\240' in program
                             if (tanks[1].X == curPos.x&&tanks[1].Y==curPos.y) cur = 'B';
                                  ^
/in/lab7.cpp:375:18: error: stray '\302' in program
                             result << cur << "|";
                  ^
/in/lab7.cpp:375:19: error: stray '\240' in program
                             result << cur << "|";
                   ^
/in/lab7.cpp:375:21: error: stray '\302' in program
                             result << cur << "|";
                     ^
/in/lab7.cpp:375:22: error: stray '\240' in program
                             result << cur << "|";
                      ^
/in/lab7.cpp:375:24: error: stray '\302' in program
                             result << cur << "|";
                        ^
/in/lab7.cpp:375:25: error: stray '\240' in program
                             result << cur << "|";
                         ^
/in/lab7.cpp:375:27: error: stray '\302' in program
                             result << cur << "|";
                           ^
/in/lab7.cpp:375:28: error: stray '\240' in program
                             result << cur << "|";
                            ^
/in/lab7.cpp:375:30: error: stray '\302' in program
                             result << cur << "|";
                              ^
/in/lab7.cpp:375:31: error: stray '\240' in program
                             result << cur << "|";
                               ^
/in/lab7.cpp:375:33: error: stray '\302' in program
                             result << cur << "|";
                                 ^
/in/lab7.cpp:375:34: error: stray '\240' in program
                             result << cur << "|";
                                  ^
/in/lab7.cpp:376:18: error: stray '\302' in program
                        }
                  ^
/in/lab7.cpp:376:19: error: stray '\240' in program
                        }
                   ^
/in/lab7.cpp:376:21: error: stray '\302' in program
                        }
                     ^
/in/lab7.cpp:376:22: error: stray '\240' in program
                        }
                      ^
/in/lab7.cpp:376:24: error: stray '\302' in program
                        }
                        ^
/in/lab7.cpp:376:25: error: stray '\240' in program
                        }
                         ^
/in/lab7.cpp:377:18: error: stray '\302' in program
                         result << "\n";
                  ^
/in/lab7.cpp:377:19: error: stray '\240' in program
                         result << "\n";
                   ^
/in/lab7.cpp:377:21: error: stray '\302' in program
                         result << "\n";
                     ^
/in/lab7.cpp:377:22: error: stray '\240' in program
                         result << "\n";
                      ^
/in/lab7.cpp:377:24: error: stray '\302' in program
                         result << "\n";
                        ^
/in/lab7.cpp:377:25: error: stray '\240' in program
                         result << "\n";
                         ^
/in/lab7.cpp:377:27: error: stray '\302' in program
                         result << "\n";
                           ^
/in/lab7.cpp:377:28: error: stray '\240' in program
                         result << "\n";
                            ^
/in/lab7.cpp:378:18: error: stray '\302' in program
                    }
                  ^
/in/lab7.cpp:378:19: error: stray '\240' in program
                    }
                   ^
/in/lab7.cpp:379:18: error: stray '\302' in program
                     result << "\nA: " << tanks[0].life << ", B: " << tanks[1].life <<
                  ^
/in/lab7.cpp:379:19: error: stray '\240' in program
                     result << "\nA: " << tanks[0].life << ", B: " << tanks[1].life <<
                   ^
/in/lab7.cpp:379:21: error: stray '\302' in program
                     result << "\nA: " << tanks[0].life << ", B: " << tanks[1].life <<
                     ^
/in/lab7.cpp:379:22: error: stray '\240' in program
                     result << "\nA: " << tanks[0].life << ", B: " << tanks[1].life <<
                      ^
/in/lab7.cpp:381:18: error: stray '\302' in program
                     return result.str();
                  ^
/in/lab7.cpp:381:19: error: stray '\240' in program
                     return result.str();
                   ^
/in/lab7.cpp:381:21: error: stray '\302' in program
                     return result.str();
                     ^
/in/lab7.cpp:381:22: error: stray '\240' in program
                     return result.str();
                      ^

Information

Submit By
Type
Submission
Homework
Lab 7 Task 1 (initialize, move, turn)
Language
C++
Submit At
2021-12-07 14:11:07
Judged At
2021-12-07 14:11:07
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes