mechanism that compiler will use to resolve the function calls

This is a discussion on mechanism that compiler will use to resolve the function calls within the C Programming forums, part of the General Programming Boards category; Consider any two classes A and B. Add prototypes for suitable member functions to these classes in order to facilitate ...

  1. #1
    Registered User
    Join Date
    Jun 2005
    Posts
    1

    mechanism that compiler will use to resolve the function calls

    Consider any two classes A and B. Add prototypes for suitable member functions to these classes in order to facilitate expressions as below. Discuss the mechanism that compiler will use to resolve the function calls.

    a=a + b;
    b=a+20;

  2. #2
    Registered User mitakeet's Avatar
    Join Date
    Jun 2005
    Location
    Maryland, USA
    Posts
    212
    Answer your own homework question!

    Free code: http://sol-biotech.com/code/.

    It is not that old programmers are any smarter or code better, it is just that they have made the same stupid mistake so many times that it is second nature to fix it.
    --Me, I just made it up

    The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man.
    --George Bernard Shaw

  3. #3
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Not to mention the fact that C doesn't have classes.


    Quzah.
    Hope is the first step on the road to disappointment.

  4. #4
    Lead Moderator kermi3's Avatar
    Join Date
    Aug 1998
    Posts
    2,595
    Wrong forum, and blatently disreguarding the forum's guidelines on doing your own homework. If you have a question, be more specific and repost it with the code you've done so far on teh C++ forum.

    Closed.
    Kermi3

    If you're new to the boards, welcome and reading this will help you get started.
    Information on code tags may be found here

    - Sandlot is the highest form of sport.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 12
    Last Post: 10-16-2008, 02:49 PM
  2. Including lib in a lib
    By bibiteinfo in forum C++ Programming
    Replies: 0
    Last Post: 02-07-2006, 01:28 PM
  3. Change this program so it uses function??
    By stormfront in forum C Programming
    Replies: 8
    Last Post: 11-01-2005, 07:55 AM
  4. const at the end of a sub routine?
    By Kleid-0 in forum C++ Programming
    Replies: 14
    Last Post: 10-23-2005, 06:44 PM
  5. Problem with Visual C++ Object-Oriented Programming Book.
    By GameGenie in forum C++ Programming
    Replies: 9
    Last Post: 08-29-2005, 11:21 PM

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