please give me EXAMPLES of FUNCTIONS (Beginners)

This is a discussion on please give me EXAMPLES of FUNCTIONS (Beginners) within the C++ Programming forums, part of the General Programming Boards category; Hey guys, i don't know anything yet about functions and "passing arguments/parameters" ....but it would be discussed on our next ...

  1. #1
    Registered User
    Join Date
    Nov 2011
    Posts
    2

    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
    Posts
    4,262
    why should we do THAT when GOOGLE can GIVE you COUNTLESS examples

    Soma

  3. #3
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    6,305
    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
    Location
    Bozeat, Northants. UK
    Posts
    23
    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, 03:38 PM
  2. gif-lib examples
    By Welder in forum Windows Programming
    Replies: 4
    Last Post: 11-14-2007, 09: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, 08:01 AM
  5. Replies: 1
    Last Post: 05-13-2002, 06:41 PM

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