Working on this assignment. Would really love any pointers.
I am supposed to design a basic spelling checker. It looks at a word and then, tells me what kind of error I made. TRANS = Transposition. SUB = Substitution.
My professor started us off by writing some of the code for us but I wasn't in class for it. Can anyone explain to me what's going on with the function: errorType functionInsertion( string gw, string bw)