Thread: function help!

  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    85

    function help!

    hi
    i am currently trying to understand how to make functions and they are quite confusing
    i am trying to create a function that can multiply two numbers together

    and to be honest i havent go very far, just a whole lot confused :S
    any help would be welcome
    thank you

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Code:
    returntype functionname( function parameters )
    { /* start of function contents */
    
        /* function contents */
    
    } /* end of function contents */
    Now you try.


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

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling C in Visual Studio 2005
    By emanresu in forum C Programming
    Replies: 3
    Last Post: 11-16-2009, 04:25 AM
  2. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 03:07 AM
  3. Seg Fault in Compare Function
    By tytelizgal in forum C Programming
    Replies: 1
    Last Post: 10-25-2008, 03:06 PM
  4. Replies: 28
    Last Post: 07-16-2006, 11:35 PM
  5. 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