Code:
#include <string>
...
string temp;
...
getline(b_file,temp); // Read whole 1st line from file into string variable "temp"
cout << temp << endl; // Output whole 1st line to "cout"
getline(b_file,temp); // Read whole 2nd line from file into "temp"
cout << temp << endl; // Output whole 2nd line to "cout"
That's the string version of the getline function. If you wanted to still use character array's to do this, you could use the stream's getline member function instead (assuming you had a large enough array to store things in you could actually read a whole line in at a time).
Code:
const int line_len = 255;
char line[line_len]; // Store a line from the file, make sure it's big enough
...
b_file.getline(line,line_len); // Read a single line from the input file
cout << line << endl; // Output that single line back to cout
b_file.getline(line,line_len); // Read the 2nd line from the input file
cout << line << endl; // Output that 2nd line back to cout