I have searched quite a few FAQ`s, C/C++ Reference site and the FAQ`s here and I`m still sort of lost about endl and \n. I know that both are used to end a line. That \n is quicker. That (from what some suggest) endl flushes the buffer and sticks a \n at the end of the line so as to start a new one. However, I can`t grasp flushing the buffer. I know it is important to keep from hogging up memory but I can`t get my mind around the buffer and its importance in helping memory or giving extra space to the memory (as I think the term suggests) in case something doesn`t fit like it should.
Can someone lay it out for me?
And having answered that question could you tell me generally, the circumstances under which I should be posting endl to my code as opposed to \n?
Thanks All, ..Plain