//************************************* //func getline:case get num char from buffer //istream &getline(char *buf, streamsize num); //************************************* #include #include using namespace std; //====================================== int main(){ char line[255]; int num; cout<<"insert number of char to get from file: "; cin>>num; ifstream in("marketUser",ios::binary|ios::in); if(!in){ cout<<"Error opening file\n"; return 1; } while(in){ in.getline(line,num); cout<