Archived

This topic is now archived and is closed to further replies.

ANSI headers...

This topic is 5748 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Are there the new ANSI header for all the old style include files? like: iostream.h -> iostream string.h -> string? cstring? stdio.h -> ??? fstream.h -> ??? etc...

Share this post


Link to post
Share on other sites
<iostream.h> -> <iostream>
<string.h> -> <cstring>
note: there is also a <string> library, but don't get it mixed up with <cstring>, the new version of <string.h>
<stdio.h> -> <cstdio>
<fstream.h> -> <fstream>
<math.h> -> <cmath>
<time.h> -> <ctime>

Remember, that everything in the new headers is all under the std namespace. There are other new headers like this, but i dont remember any more of them.

EDIT: doh! forgot about HTML tags!

------------------------------
If someone asks you "A penny for your thoughts" and you put your two cents in, do you get change?

[edited by - GarlandIX on March 21, 2002 12:05:09 AM]

Share this post


Link to post
Share on other sites