It only return one lineCode:char *str4 = new char[50]; ifstream Inputfile(argv[0],ios::in); Inputfile.getline(str4, '\n'); sock.Send(num, str4); Inputfile.close(); delete str4;![]()
It should return all texts from a text file.
Im using ms vc++ 6.0
the code is cpp non-mfc



LinkBack URL
About LinkBacks




