Thread: copy strings in array

  1. #16
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    So you can do either
    void addchars(char sa[128][25])
    void addchars(char (*sa)[25])
    at your convenience.

  2. #17
    Registered User
    Join Date
    Jan 2009

    it seems like i need a mega c tutorial rehash on pointers and arrays!

    thanks for your time.

  3. #18
    Registered User
    Join Date
    Dec 2008
    it looks like you need to learn to differentiate between pointers and arrays, since they can be very similar but very different at the same time.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Swapping strings in an array of strings
    By dannyzimbabwe in forum C Programming
    Replies: 3
    Last Post: 03-03-2009, 12:28 PM
  2. Array of strings and memory allocation
    By maluyk in forum C Programming
    Replies: 7
    Last Post: 01-26-2009, 11:52 AM
  3. Passing an Array of Strings from VB to a C DLL
    By mr_nice! in forum Windows Programming
    Replies: 9
    Last Post: 03-08-2005, 06:16 AM
  4. Struct *** initialization
    By Saravanan in forum C Programming
    Replies: 20
    Last Post: 10-09-2003, 12:04 PM
  5. Hi, could someone help me with arrays?
    By goodn in forum C Programming
    Replies: 20
    Last Post: 10-18-2001, 09:48 AM