ifstream

  1. pushkar

    C++ - Reading string from a text file

    I have to read a text file using ifstream. The file contents are 1 10 Insurgence 1998 7.1 0 I have written following two codes for reading the file code 1 #include<iostream.h> #include<fstream.h> #include<conio.h> #include<stdio.h> #include<string.h> void main() {...
Top Bottom