Question: C++ hashing code must read in an input file input.txt, which is formatted as such: add 0x20000000 addi 0x20000000 addiu 0x24000000 addu 0x21000000 and hash

C++ hashing code must read in an input file "input.txt", which is formatted as such:

add 0x20000000

addi 0x20000000

addiu 0x24000000

addu 0x21000000

and hash from an array with the values "0x2000000, 0x20000000, 0x24000000, 0x2100000" hard coded in.

Then the output must read the value and then the item such as add, addi, addiu, addu, making it look like:

0x200000000 add

0x200000000 addi

0x240000000 addiu

0x210000000 addu

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!