I'm just trying to learn C and I've come accross something that stumps me. How do you read in a file that has both words and numbers as both strings and doubles? Say a .txt file has a name, name, number, number all on separate lines and you want to input them as stings and as doubles. I've tried combining fscanf and fgets in for loops and while loops and even stand alones, I keep getting messed up on the numbers part. Any help would be greatly appreciated!!!