If you can modify the input file, use a delimiter other than a space and break each line in half with strtok:
Jamie lynn:20
Eric D. Mcdaniel:40
Joe:23
#include <stdio.h>
#include...
Type: Posts; User: MK27
If you can modify the input file, use a delimiter other than a space and break each line in half with strtok:
Jamie lynn:20
Eric D. Mcdaniel:40
Joe:23
#include <stdio.h>
#include...