question about programs accessing the outputs of different programs
i have a program, assembler, that reads from a text file,sort.s, containing a bubble sorter in mips assembly language, assembles it, and then writes the output to a different text file, output.o (extensions don't matter). i am currently writing a program, simulator, that then needs to read output.o and execute the instructions in it. i was wondering how i might go about this? can i simply copy/paste the simulator as a new source file in assembler?
right now, assembler reads sort.s from the Desktop\Assembler\Assembler folder, and writes output.o to the same place. so if i put simulator.cpp in that folder, will it work? or do i need to go to project>add new item from within MSVS itself? (i havent experience working on programs that have multiple parts)
i hope thats clear enough...