问题 I have text file contain data like which contain key value pairs (Ann, 67) (Jhon, 78) (Mason, 89) (Simon, 34) (Ruko, 23) each item separated by space and there is a space after comma I want to read each element and print those item one by the (Ann, 67) (Jhon, 78) (Mason, 89) (Simon, 34) (Ruko, 23) I tried using while (fscanf(file, "%s", value) == 1) { printf(value); } but not it separated each value with comma (Ann, 67) (Jhon, 78) (Mason, 89) How can I do that 回答1: As I mentioned in my