Thread: Help with Function Prototypes

  1. #16
    Registered User
    Join Date
    Oct 2011
    Posts
    17
    Ok, I think I see what you're saying. When I'm calling on the function in main, I don't wanna use things like "depth" or "celsius_at_depth" but rather things like "d" and "cel" - somewhat right?

    Basically, not to mix up my argument with parameters?

    Thank you for the help. I obtained my necessary output.

  2. #17
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    You can use descriptive names, but you need to make sure the names you use aren't already used by something else you can see at that point in the program.


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

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. function prototypes
    By kawaikx15 in forum C Programming
    Replies: 1
    Last Post: 06-28-2011, 09:20 PM
  2. Function Prototypes
    By askinne2 in forum C Programming
    Replies: 6
    Last Post: 10-01-2010, 01:01 PM
  3. Function prototypes
    By XxPKMNxX in forum C Programming
    Replies: 4
    Last Post: 10-28-2009, 02:33 AM
  4. Function Prototypes
    By Kryota in forum C++ Programming
    Replies: 11
    Last Post: 12-28-2007, 04:52 AM
  5. 2 function prototypes
    By newbie101 in forum C++ Programming
    Replies: 3
    Last Post: 05-09-2006, 05:49 AM