newbie in c/c++

This is a discussion on newbie in c/c++ within the C++ Programming forums, part of the General Programming Boards category; Please help me find out if "date" data type is supported in c/c++. I tried to search for it in ...

  1. #1
    Registered User
    Join Date
    Dec 2002
    Posts
    2

    Question newbie in c/c++

    Please help me find out if "date" data type is supported in c/c++. I tried to search for it in my books, but couldn't find it.

    If "date" data type is not available in c/c++, is there a way to handle date and how? or what other references I can search to familiarize the language well?

    I'm taking up a course in c/c++ via distance learning. I happen to encounter a "date" data type variable in the sample code of the assignment I'm trying to answer. When I try to compile in Visual C++, it doesn't work. The requirement is to modify the code to include an overloaded constructor in the definition of the class. Thank you for your responses.

    Here is the original code to be modified:
    -------------------------------------

    ...

    class directory
    {
    char name[30];
    char address[50];
    char telno[8];
    date installdate;
    char telco[10];
    public:
    void define (char *name, char *address, char *telno, char *telco);
    char *get_name();
    char *get_address();
    char *get_telno();
    date get_installdate();
    char *get_telco();
    };

    ...
    ----------------------------------------
    Last edited by pca64; 12-07-2002 at 01:02 AM.

  2. #2
    Registered User
    Join Date
    Dec 2002
    Posts
    2
    Thank you Salem. It did, compile.....

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Newbie with Very Newbie Question
    By Jedi_Mediator in forum C++ Programming
    Replies: 18
    Last Post: 07-01-2008, 09:00 AM
  2. getting to grips with allegro and ms vc++ (newbie)
    By jimjamjahaa in forum C++ Programming
    Replies: 4
    Last Post: 11-18-2005, 07:49 PM
  3. Newbie in problem with looping
    By nrain in forum C Programming
    Replies: 6
    Last Post: 11-05-2005, 12:53 PM
  4. Some help for a newbie?
    By Ilmater in forum C++ Programming
    Replies: 23
    Last Post: 04-19-2004, 08:44 PM
  5. Newbie Game Develpoers Unite!
    By Telenosis in forum Game Programming
    Replies: 10
    Last Post: 06-22-2002, 03:02 PM

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