i really don't want to use gets but i dont have any more ideas. i tried fgets() but it just print out a junked character. so i used gets. is there any more i can use to read the white spaces?? ohter than the two?
Could you rephrase your question? It's rather confusing. What, exactly, are you trying to do? fgets() isn't a printing function, what do you mean it "just print out a junked[sic] character"?