|
From: Ulrich <ulr...@we...> - 2005-01-19 14:49:17
|
On Mit, 2005-01-19 at 14:43, SourceForge.net wrote: > Read and respond to this message at: > https://sourceforge.net/forum/message.php?msg_id=2947492 > By: zubairahmed_cae > > Hi, i m new to MinGW 2.05, and infact new to programming, > > i tried to compile supposedly correct code (a small c++ program) that i copied > from a website, > > On compilation i get a warning > > warning: no newline at end of file > > can someone tell me what it means.. Every line ends in Windows-text-files with an CRLF-Combination (means CariageReturn and LineFeed = hexa 0d and hexa 0a). In Unix it is usually only NL (means NewLine = hexa 0a). These characters are not visible, but close every line (that exact is an 'line'). Even these characters (or character) are (is) missing at the last line. Then there is only an EOF (End of File). Solution: Behind the last character of your small c++-program press ENTER for closing this last line. Thats it all. Ulrich > > ______________________________________________________________________ > You are receiving this email because you elected to monitor this forum. > To stop monitoring this forum, login to SourceForge.net and visit: > https://sourceforge.net/forum/unmonitor.php?forum_id=7134 > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > MinGW-users mailing list > Min...@li... > > You may change your MinGW Account Options or unsubscribe at: > https://lists.sourceforge.net/lists/listinfo/mingw-users |