Do you have to change something in the code to use the SN754410
Yes, but it is just a matter of doing a few digitalWrite calls to the appropriate pins.
Get the data sheet for the SN754410, it shows you what pins do what.
these shields cover up all the Arduino pins (not all but most of them).
You don't have to fit a shield over the pins, you can just wire up the appropriate pins.