Search:

Type: Posts; User: MMu

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    2,159

    Overloading >

    Please tell me why my input and output are not the same in this code.
    cents is always zero and the symbol is not defined!
  2. Thread: Constructor help

    by MMu
    Replies
    6
    Views
    1,219

    Constructor help

    Please run the code "q1_test" and tell me what am I doing wrong with the functions.
    As you can see, the initialized values of the object 'c' does not go into the functions, GetDollars and GetCents....
  3. Thread: scanf question

    by MMu
    Replies
    2
    Views
    1,407

    Thanks and sorry about %s reversal

    Thanks and sorry about %s reversal
  4. Thread: scanf question

    by MMu
    Replies
    2
    Views
    1,407

    scanf question

    I have the following problem


    int day;
    int year;
    char month[12][10];

    printf("Enter date (e.g. January 1 2008)"\n");
    scanf("s% d% d% \n",month, &day, &year);
Results 1 to 4 of 4