i dont know very much about c as of yet, but from what happend to me and looking at your source you forgot to add a line for what to do if your choice is somthing other than 0 1, it needs a value for Null (no entry) and all characters numbers from a-z 2-9 (because 1 and 0 are being used they are excluded) because when i just pressed enter the program got stuck in a loop and started spitting a line of text which i couldnt read, as fast as the computer could. also when it asked for a name, it never gave me a chance to enter my name, the program merely proceeded to the next line.