My, aren't you especially snide this morning. :)
I'd wager a favourite beer that mehid is working on a MIPS assembly compiler or simulator.
Getting the MIPS assembly into an array is useless....
Type: Posts; User: Nominal Animal
My, aren't you especially snide this morning. :)
I'd wager a favourite beer that mehid is working on a MIPS assembly compiler or simulator.
Getting the MIPS assembly into an array is useless....
I recommend against the OP's approach. It is too fragile, and has issues with for example quoted strings.
Instead, I recommend writing an input function (preferably similar to POSIX getline()),...