fflush needed?

Guys, Do I really need fflush in this c++ piece of code?

1
2
3
4
5
6
ofstream Records;
	Records.open("Records.txt", ios::app);
	 		
	cout << "Enter Student's First Name: " << endl; 
	fflush(stdin);
	cin >> stureg.fname;
IIRC you can't flush input streams.
Topic archived. No new replies allowed.