0
How can we count the amount of double nbs and that of integer nbs in a specific txt file?!
In c++
4 ответов
+ 1
Brute force approach
isnum(fptr[I])
+ 1
Yes
Steps
1. Open file using file operations
2. Read character until EOF (End Of File) is reached, using any loop
3. Compare every character and check if it's a number or not.
4. If it's a number store it into an array
5. Close file
+ 1
Sreejith okay thanks for your help :)
0
Sreejith this code found in c++ programming ??