January 05, 2002 #include behavior | ||||
---|---|---|---|---|
| ||||
I've used C (albeit on unix) for a very long time. I've decided to do a rather silly thing, which is learn win32 and C++ at the same time.... Anyway, I've picked up a C++ book and it talks about a new way of using #include with the standard libraries. #include <iostream> instead of #include <iostream.h> This leads to two questions: Is this behavior supported? Is this the style most folks use or do you slip back to the .h format? |
January 05, 2002 Re: #include behavior | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jon R. Nials | "Jon R. Nials" <jnials@nials.org> wrote in message news:a160bp$7dh$1@digitaldaemon.com... > I've used C (albeit on unix) for a very long time. I've decided to do a rather silly thing, which is learn win32 and C++ at the same time.... > > Anyway, I've picked up a C++ book and it talks about a new way of using #include with the standard libraries. > > #include <iostream> > > instead of > > #include <iostream.h> > > This leads to two questions: > > Is this behavior supported? > > Is this the style most folks use or do you slip back to the .h format? The modern way is the .h-less way. DMC++ isn't there yet with iostream. -Walter |
Copyright © 1999-2021 by the D Language Foundation