yes and no :)
c++ absorbed 95% or so of the C language and most of it works fine in "c++" as in you can use it and it will compile and function. But its still C, not C++. So technically its "c++" because the compilers will take it in a .cpp file using a c++ compiler and linker, but "professionally" its not c++ as it is preferred to use the C++ (not found in C) types and functions for anything redundant across the two languages.
you can use them, but its highly not recommended.
Ganado showed you the c++ version. It does get the data from the file. You may need to add to it if you want to store the file data in something... all it does is read it in and print it out so far.
You didn't answer my question (although it was somewhat rhetoric).
I told you how to fix your problem: Remove the third fscanf statement, it doesn't make any sense to exist right there. You can ignore my code example if you wish; for your purposes, it's unrelated.
Ganado (1892)
Non, Ive not ignored your code, your code was not showed on my phone,
Ive not seen it.
Now l am on my compute, it is showed,
Yes, thanks a lot for your code.
And thanks for jonnîn's explanation.