Thread: passing variables to functions?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #10
    Registered User
    Join Date
    Jun 2002
    Posts
    11
    i just dont under stand how i can store 3 ints and a float in main using one function, but i can send the 3 int's but not the float to another function?

    it doesn't make sense to me how such an easy task won't work?

    i guess my question is how do i send

    3ints and a float from main to another function?
    Last edited by aoe; 06-02-2002 at 03:24 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Passing functions between files
    By Duskan in forum C Programming
    Replies: 9
    Last Post: 04-17-2007, 07:44 AM
  2. Variables and Functions
    By Hitetsu in forum C++ Programming
    Replies: 2
    Last Post: 03-29-2006, 08:01 AM
  3. Passing pointers between functions
    By heygirls_uk in forum C Programming
    Replies: 5
    Last Post: 01-09-2004, 06:58 PM
  4. passing structures to functions
    By AmazingRando in forum C++ Programming
    Replies: 5
    Last Post: 09-05-2003, 11:22 AM
  5. Replies: 1
    Last Post: 01-20-2002, 11:50 AM