Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
File Merging in C++
#17
SaptaZapta Wrote:"New newline" or "no newline"?
If it's no newline, just go in the text editor, go to the bottom of the file, and add a newline.
Basically it wants an empty line (not even blank or tab) at the end of the file.

Whoops, typo'd that. No newline.

So...

Code:
int main()
{
    ...

    //-| ----------------------------------------------------------------------
    //-| Print the copyright notice declaring authorship again.
    //-| ----------------------------------------------------------------------
    cout << endl << "(c) 2013, yourUnixLogin First Last" << endl << endl;


   return 0;

}//main

That has two endl commands, I guess that doesn't count? (copy/pasted from the code's shell.)
Reply


Messages In This Thread
File Merging in C++ - by MariettaRC - 2013-09-27, 06:37 AM
File Merging in C++ - by SaptaZapta - 2013-09-27, 07:41 AM
File Merging in C++ - by MariettaRC - 2013-09-27, 07:59 AM
File Merging in C++ - by MariettaRC - 2013-09-27, 11:38 AM
File Merging in C++ - by SaptaZapta - 2013-09-27, 11:43 AM
File Merging in C++ - by MariettaRC - 2013-09-27, 11:53 AM
File Merging in C++ - by Dusk - 2013-09-27, 11:55 AM
File Merging in C++ - by SaptaZapta - 2013-09-27, 12:07 PM
File Merging in C++ - by MariettaRC - 2013-09-27, 01:52 PM
File Merging in C++ - by SaptaZapta - 2013-09-27, 02:00 PM
File Merging in C++ - by MariettaRC - 2013-09-27, 02:02 PM
File Merging in C++ - by MariettaRC - 2013-09-28, 02:31 PM
File Merging in C++ - by SaptaZapta - 2013-09-28, 03:23 PM
File Merging in C++ - by Dusk - 2013-09-28, 03:23 PM
File Merging in C++ - by MariettaRC - 2013-09-28, 03:30 PM
File Merging in C++ - by SaptaZapta - 2013-09-28, 03:38 PM
File Merging in C++ - by MariettaRC - 2013-09-28, 03:47 PM
File Merging in C++ - by Dusk - 2013-09-28, 03:51 PM
File Merging in C++ - by SaptaZapta - 2013-09-28, 03:56 PM
File Merging in C++ - by MariettaRC - 2013-09-28, 04:02 PM
File Merging in C++ - by SaptaZapta - 2013-09-28, 04:13 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)