Help with Function Prototypes

This is a discussion on Help with Function Prototypes within the C Programming forums, part of the General Programming Boards category; Ok, I think I see what you're saying. When I'm calling on the function in main, I don't wanna use ...

  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.

Page 2 of 2 FirstFirst 12
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, 10:20 PM
  2. Function Prototypes
    By askinne2 in forum C Programming
    Replies: 6
    Last Post: 10-01-2010, 02:01 PM
  3. Function prototypes
    By XxPKMNxX in forum C Programming
    Replies: 4
    Last Post: 10-28-2009, 03: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, 06:49 AM

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