Thread: passing arrays to other data has pointers

  1. #1
    Registered User
    Join Date
    Apr 2013
    Posts
    19

    passing arrays to other data has pointers

    Hi,

    I am looking for an example of when passing arrays to other data that has pointers,

    I understand the terms I would just like to see a small example of code that actually demonstrates this process.

    thanks!

  2. #2
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    what sort of problem are you trying to solve?
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

  3. #3
    Registered User
    Join Date
    Apr 2013
    Posts
    19
    Um its for a test sheet so honestly any example that would be illustrate this works

  4. #4
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    Well what exactly does the "test sheet" say? How do you think you might do it?

  5. #5
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    6,318
    Quote Originally Posted by craff25 View Post
    Hi,

    I am looking for an example of when passing arrays to other data that has pointers,

    I understand the terms I would just like to see a small example of code that actually demonstrates this process.

    thanks!
    You first need to understand what you really want to know and fix your question.
    One can not pass anything to data, one can assign to data or pass to a function.
    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"

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. passing arrays as pointers
    By a.mlw.walker in forum C Programming
    Replies: 4
    Last Post: 08-12-2011, 02:45 PM
  2. Passing pointers to arrays of char arrays
    By bobthebullet990 in forum C Programming
    Replies: 5
    Last Post: 03-31-2006, 05:31 AM
  3. passing arrays and passing pointers
    By Leeman_s in forum C++ Programming
    Replies: 3
    Last Post: 04-13-2002, 12:35 PM
  4. Passing data/pointers between functions #2
    By TankCDR in forum C Programming
    Replies: 1
    Last Post: 11-02-2001, 09:49 PM
  5. Passing data/pointers between functions
    By TankCDR in forum C Programming
    Replies: 1
    Last Post: 11-02-2001, 12:59 AM