sscanf

found i can use sscanf to read the file, still working on it