Thread: Two dimensional array help

  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    1

    Two dimensional array help

    nevermind
    Last edited by hrider; 10-19-2008 at 01:34 PM.

  2. #2
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Well I guess all I can say is my work here is done.

  3. #3
    Registered User C_ntua's Avatar
    Join Date
    Jun 2008
    Posts
    1,853
    I like guessing:
    Code:
    void main() // use int main(), see FAQ
    Code:
    gets() // use fgets(), see FAQ
    Code:
    ptr = (void *)malloc() // don't cast malloc(), see FAQ

  4. #4
    Registered User
    Join Date
    Sep 2008
    Location
    Toronto, Canada
    Posts
    1,834
    You have the pointer indicator '*' in the wrong place even though any link referenced to support that clearly state it's fine especially in the context of C as opposed to C++, for which this is the wrong forum to be arguing about it anyhow. - the usual suspect(s)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 07-11-2008, 07:39 AM
  2. two dimensional array
    By leisiminger in forum C Programming
    Replies: 12
    Last Post: 03-09-2008, 11:53 PM
  3. Type and nontype parameters w/overloading
    By Mr_LJ in forum C++ Programming
    Replies: 3
    Last Post: 01-02-2004, 01:01 AM
  4. Replies: 5
    Last Post: 11-20-2001, 12:48 PM