|
From: Jonathan A. <jda...@bu...> - 2005-01-19 14:32:48
|
> 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.. It means you don't have a newline at the end of your file:-) It isn't a big deal, but just go to the last line in the file and hit Enter, so that the file ends with a blank line. In the olden days, many compilers didn't like it if the last character of the program wasn't a carriage return. It generally isn't a problem these days, though. -- Jonathan Arnold (mailto:jda...@bu...) Amazing Developments http://www.buddydog.org I feel like a fugitive from the law of averages. - William H. Mauldin |