Hi guys, i'm having trouble on a little practice exercice i am doing for a exam, and i can find anything about it, we are not using std, i'm trying to read a .txt file block by block and i need to find the lines that only have 4 blocks and then print them to console, i've been trying alot of stuf but i can't seem to find de solution, heres the code
Thanks alot mate, that's exactly what i needed, btw i atually used the strcmp function, and i used it on other exercices, but i got confused whille doing this one, regarding to the sscanf function i didnt knew that it could do that i guess i need to pay more atention to the explanation on the references page.