i have a loop to read in from the text file
i need this constructor to get the data from the place array or re read from text file i cant have it set how it is belowCode:char place[11][11] { for(i=0;i<11;i++) { fscanf(in_file, "%s ", &place[i]); }
Code:const char *cities[] = {"London", "Glasgow", "Birmingham", "Manchester", "Luton", "Derby", "Poole", "Stafford", "Stoke", "Cardiff"};