V
Venkat
Greetings to All,
I have the following file and i need to modify it with the contents of an
array
File1.txt
Name Location Points Grade
Venkat,Newyork,100,A
Jack,LA,12,C
Heather,Las Vegas,190,B
Jay,Sanjose,199,A
John,Austin,1,D
int NewPoints = {23,1,100,181,100}
Now i need to write a program using file objects of C++(ifstream, ofstream)
such that it should open the file File1.txt and should modify the values
under Points section with that present in NewPoints.
It is urgent please let me know how to go about it.
Thanks and Regards,
Venkat
I have the following file and i need to modify it with the contents of an
array
File1.txt
Name Location Points Grade
Venkat,Newyork,100,A
Jack,LA,12,C
Heather,Las Vegas,190,B
Jay,Sanjose,199,A
John,Austin,1,D
int NewPoints = {23,1,100,181,100}
Now i need to write a program using file objects of C++(ifstream, ofstream)
such that it should open the file File1.txt and should modify the values
under Points section with that present in NewPoints.
It is urgent please let me know how to go about it.
Thanks and Regards,
Venkat