This is problematic advice. One might define s_fileIn to be a megabyte and reduce the probability of a crash, but it's better just to use an input method that constrains the number of characters that will be allowed. Something like "cin.get (inputBuffer, bufferSize);" would do nicely.
If you don't use error checking before you've learned about it, you're just new. If you don't use it AFTER you've learned about it, you're either lazy, a schlock coder, or just recalcitrant. Not a pretty picture, but there you have it

.