|I'm receiving errors in CPU.cpp|
The first guidance I'd give you is don't keep secrets, and don't expect us to be able to read your mind. If you have errors, then tell us what they are
. You're the one looking for people to give their time and effort to help you, so the least you could do is take the time and effort to give us as complete, and helpful, a description of the errors your getting as possible, so that we don't have to do all the work of figuring out what it is you want.
Looking at your CPU.cpp, I can see two obvious problems:
1) You're using an ifstream to read from a file, but you're trying to use ios::app with it. Why? What dense does it make to open a file in that mode, when you're only reading from it?
2) You're trying to run ALU.cpp as if it were an executable file, when it's not - it's a source file. Do you understand that you need to compile source code to create an executable, and that you run the executable?