- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Re:
[URL="http://www.freeprogrammingebooks.com/"]http://www.freeprogrammingebooks.com/[/URL] [URL="http://www.epagecollection.com/"]http://www.epagecollection.com/[/URL] [URL="http://www.docnmail.com/learn/"]http://www.docnmail.com/learn/[/URL] [URL="http://www.freebyte.com/programming/cpp/"]http://www.freebyte.com/programming/cpp/[/URL] [URL="http://www.onlinefreeebooks.net/free-ebooks-computer-programming-technology/"]http://www.onlinefreeebooks.net/free-ebooks-computer-programming-technology/[/URL] [URL="http://www.click-now.net/ebooks.htm"]http://www.click-now.net/ebooks.htm[/URL] [URL="http://www.onlinefreeebooks.net/"]http://www.onlinefreeebooks.net/[/URL] [URL="http://www.info4java.com/free_ebooks/"]http://www.info4java.com/free_ebooks/[/URL] [URL="http://www.free-itebooks.com/"]http://www.free-itebooks.com/[/URL] [URL="http://www.gayanb.com/"]http://www.gayanb.com/[/URL] [URL="http://www.rfzone.org/free-rf-ebooks/"]http://www.rfzone.org/free-rf-ebooks/[/URL] <snipped> [URL="http://www.onlinefreeebooks.net/free-ebooks-computer-programming-technology/office-related/"]http://www.onlinefreeebooks.net/free-ebooks-computer-programming-technology/office-related/[/URL] [URL="http://www.ebooklobby.com/index.php?cid=6"]http://www.ebooklobby.com/index.php?cid=6[/URL] |
|
fin1 xx.txt -------------------- Paychecks 2500.00 Interest 100.00 fin2 xx.txt -------------------- Car_Insurance 250.00 Cell_Phone 50.00 Book 200.00 Student_Loans 180.00 Rent 950.00 fin3 xx.txt -------------------- Food 350.00 the output become --------------------- [CODE] Paychecks 2500.00 Car_Insurance 250.00 Food 350.00 Interest 100.00 Cell_Phone 50.00 Cell_Phone 50.00 Book 200.00 Student_Loans 180.00 Rent 950.00 [/CODE] ------------------------------ … |
|
[code]#include <iostream> #include <fstream> #include <cstdlib> using namespace std; int main( ) { ifstream fin; ofstream fout; fin.open("income.dat"); fout.open("total.dat"); char income; fin.get(income); while (! fin.eof()) { cout << income ; fin1.get (income) ; } double next, sum = 0; int count = 0; while (fin >> next ) { sum … |
|
#include <iostream> #include <fstream> using namespace std; int main( ) { ifstream fin; ofstream fout; fin.open("income.dat"); if (fin.fail( )) { cout << "Input file opening failed.\n"; exit(1); } fout.open("total.dat"); if (fout.fail( )) { cout << "Output file opening failed.\n"; exit(1); } double next, sum = 0; int count = 0; … |
|
Re:
Hi Hope u r all well... here is my problem... i want to remove duplicate entries from a text file while maintaining the order of the text say if the text file contains 123zabc 456def 123abc 456def. 123def 456def 123abc i want the result to be like 123zabc 456def 123abc … |
|
im the newbie among the newbie .....need a nice and patient guy who willing to guide me of my assignment.....cause the deadline is tis weekend......i dun know or can say hard to post the problem out...cause too many.............need urgent reply.........can msn ??? pls pls pls pls...........i got plenty of question … |