In instruction.cpp,
- change all
'AX' to "AX"
- at line 649, change
== for +=
- at line 640, change
sourceLine to std::to_string(sourceLine)
In instruction.h,
- add
#include <string>
- at line 11, in the constructor, add the default value:
int lineNum = 0
In point.h,
In README.MD,
The code compile and links but executing the program without a parameter segfaults.
In instruction.cpp,
'AX'to"AX"==for+=sourceLinetostd::to_string(sourceLine)In instruction.h,
#include <string>int lineNum = 0In point.h,
#include <string>In README.MD,
tehfortheThe code compile and links but executing the program without a parameter segfaults.