Thread: please give me EXAMPLES of FUNCTIONS (Beginners)

  1. #1
    Registered User
    Join Date
    Nov 2011

    please give me EXAMPLES of FUNCTIONS (Beginners)

    Hey guys, i don't know anything yet about functions and "passing arguments/parameters" ....but it would be discussed on our next c++ class..

    Can you please give/post a very simple program with the following conditions:

    1) Functions with no return value and without passing arguments/parameters
    2) Functions with no return value but with passing arguments/parameters
    3) Functions with return value but without passing arguments/parameters
    4) Functions with return value and with passing arguments/parameters

  2. #2
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    why should we do THAT when GOOGLE can GIVE you COUNTLESS examples


  3. #3
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    New Zealand
    What answers have you attempted to produce yourself so far?
    My homepage
    Advice: Take only as directed - If symptoms persist, please see your debugger

    Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"

  4. #4
    Registered User
    Join Date
    Nov 2011
    Bozeat, Northants. UK
    have you searched you tube for : Bucky's C++ Programming Tutorials?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 12-26-2008, 04:38 PM
  2. gif-lib examples
    By Welder in forum Windows Programming
    Replies: 4
    Last Post: 11-14-2007, 10:38 PM
  3. Replies: 1
    Last Post: 06-29-2004, 05:23 PM
  4. I still do not understand offset, please give me examples
    By Shadow12345 in forum C++ Programming
    Replies: 2
    Last Post: 11-13-2002, 09:01 AM
  5. Replies: 1
    Last Post: 05-13-2002, 06:41 PM