Which headers ought to be used? Which is practical?
<XXX.h>
<XXX>
Ought to use <XXX> but I use <XXX.h> out of habit
C headers
Which headers ought to be used? Which is practical?
<XXX> should be used. These are the standard headers, and non-standard headers may not be supported in future versions of whatever compiler you're using.
<xxxx> is only compatible in gui compilers as i have found out microsoft visual, borland 5.0 etc. they also except <xxxx.h>. so in these it would be poinless to use <xxxx.h>. If you compile your code on a number of different platforms and compilers like me then you would have to use <xxxx.h> so linux,bsd,cygnus, and 16bit old c++ compilers will be compatible with your code and not annoy you.
Well this is now a moot point b/c my teacher told me to use only <xxx.h>. Thanks for the inputs tho.