>>I don't know what 0x00 means
A Hex 0 byte, or \0, or nul. Sorry, many names, same thing ;) In other words, the byte that terminates the string.
>>it's rather odd but that's my job.
Nothing odd about it :D
>>I know its C-style , just i wanted to help
I know, I just didn't want Cheesy to starting worrying about new things.
Cheesy, can you post a small sample of the input file?
Okay the input is suppsoed to be UHWXUQWRURPH which is RETURNTOROME when decoded... I don't know how to really make it support both cases, so I was just thinking change the string to all caps and then change it but... I dunno.
Okay I get what you mean about the 0x00 character, but I changed the for loop so it only reads the first 12 characters, leaving the null character out... does that work? Also where do you get the perror function/whatever it is? I mean like libraries...
Okay thanks for all the help guys, I finished the program and it works! I'm glad I think it might be late because I'm a procrastinator(spelling?)... well anyways thanks!