if i was reading from a text file, and would want to save the word in to array. how should i do this?
this is hard coded in the program, but if all the data from aa to ff was initially in another file, and i will need a file pointer to read them out from the text file, how can i save them in array?Code:char *buffer[]={"aa", "bb", "cc", "dd", "ee", "ff"};