CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: khelkely

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    1,738

    Exercise - Pointer

    Q1: Trace the partial of program below:

    1. int v = 8, *r, *s;
    2. int *p;
    3. int q = 100;
    4. p = &q;
    5. r = p;
    6. *p = 20;
    7. p = new int;
    8. *r = 30;
  2. Replies
    7
    Views
    5,941

    Re: Exercise - calculate

    This is my latest code
    It does not have an error, but i cannot calculate the rate of overtime 4O hours.
    i am still running my exercise and need help.



    //Write a program in C++ that calculates...
  3. Replies
    7
    Views
    5,941

    Re: Exercise - calculate

    Of course i will. Soon oaky. I just post it at first.

    Thank you for the reply.
  4. Replies
    7
    Views
    5,941

    Exercise - calculate

    This is just an exercise.
    And i need to complete this.

    This is the question :

    Write a program in C++ that calculates the amount to be paid to an employee based on the hours worked and rate...
Results 1 to 4 of 4





Click Here to Expand Forum to Full Width

Featured