C++ code in 1999

This is a discussion on C++ code in 1999 within the C++ Programming forums, part of the General Programming Boards category; Hi all: I have a C++ program for me to use, but it is written in 1999, and I notice ...

  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    12

    Smile C++ code in 1999

    Hi all:

    I have a C++ program for me to use, but it is written in 1999, and I notice that the some aspects of C++ program now different from that in 1999, such as "using namespace std" and "#include <cmath>," I wonder where can I get a complete list of changes.

    More specifically, I have the following header headers, some of them may be in old style, but I just don't know:

    #include <stdio.h>

    #include <string.h>

    #include <float.h>

    #include <values.h>

    #include <limits.h>

    #include <ostream.h>

    #include <assert.h>

    #include <stdlib.h>

    #include <math.h>

    #include <iostream.h>

    #include <sys/types.h>

    #include <sys/stat.h>

    #include <fcntl.h>

    #include <unistd.h>

    #include <io.h>

    #include <fstream.h>

    #include <time.h>

    #include <malloc.h>

    #include <unistd.h>

    #include <ctype.h>

    Thank!
    Last edited by chen1279; 10-03-2006 at 06:39 PM.

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >some of them may be in old style, but I just don't know
    All of them are, with the exception of values.h, which isn't a standard or pre-standard header. Most likely it's a compiler extension or a user defined header.

    [edit]
    Please don't change your post so that the answers are invalidated. Now you have all kinds of non-standard headers by every definition of the word. I would recommend not trying to update it if you don't have to.
    [/edit]
    My best code is written with the delete key.

  3. #3
    Registered User
    Join Date
    Sep 2006
    Posts
    12
    I think I need to use the code. The code won't compile under MS Visual C++.Net 2003 version. Another possible solution is to get the C++ compiler in 1999 version, but I just cannot find one yet.

  4. #4
    Registered User
    Join Date
    Sep 2006
    Posts
    12
    any help is appreciated!!!!!!!!!!!!!!!!!!

  5. #5
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094
    Well if you are a coder you should be able to translate it to the standard. Google is amazing when it comes to giving answers, you should try there.

  6. #6
    Registered User
    Join Date
    Sep 2006
    Posts
    12
    Thanks! I get one place to know some thing about this.

  7. #7
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,475
    A C++ compiler built in 1999??

    Why don't you go to Bloodshed's website and download an earlier version of dev-C++?
    The latest is 4.992 and the most acient one I have had is version 4.880. The compiler was pretty rubbish and any silly warnings I got with that compiler are eradicated in the 4.992 version.

    But if you want a good one, go for MSVC++2005 express edition. You can download it free from Microsofts website. I also own 2003.net and belive it to be an excellent compiler, one of the best IDE's and compiler set I am ever likely to own.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 23
    Last Post: 04-20-2009, 07:35 AM
  2. Extended ASCII Characters in an RTF Control
    By JustMax in forum C Programming
    Replies: 18
    Last Post: 04-03-2009, 08:20 PM
  3. Enforcing Machine Code Restrictions?
    By SMurf in forum Tech Board
    Replies: 21
    Last Post: 03-30-2009, 07:34 AM
  4. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM
  5. Replies: 0
    Last Post: 02-21-2002, 05:05 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21