Getting an infinite loop trying to read a text file by tokenizing the string in C – Artificial Intelligence
I am trying to read a text file line by line and tokenize them into elements of a struck using custom function. Yet I get an infinite loop trying to do so. My code is as follows: typedef struct {…