(07-29-2010, 07:49 PM)mmki Wrote: its a good idea to always put the .h on the end. i think that goes with most like windows.h and iosteam.h
I think it depends on the compiler is that correct?
When it comes to standard C headers, they always end with the .h extension. If you ever see them called without the extension then the programmer is writing non portable, malformed code.
For standard C++ headers, however, there is no file extension. The files iostream.h and iostream are entirely different. Once upon a time the C++ headers had file extensions. But then C++ was standardized and the file extensions were dropped. Thus iostream.h is the old header and will contain now-obsolete code.
Ho, ho, ho! Well, if it isn't fat stinking billy goat Billy Boy in poison!
How art thou, thou globby bottle of cheap, stinking chip oil?
Come and get one in the yarbles, if ya have any yarbles, you eunuch jelly thou!
How art thou, thou globby bottle of cheap, stinking chip oil?
Come and get one in the yarbles, if ya have any yarbles, you eunuch jelly thou!