alocation of 2D array

Discussion in 'C Programming' started by MMilla, Nov 25, 2007.

  1. MMilla

    MMilla

    Joined:
    Nov 25, 2007
    Messages:
    1
    hi I read from *.txt file size of my array and then I want to alocate this array. I have this part of code:




    then I tryed to write somethink, but I think, that I make mistake somewhere.


    or I tried this:



    I am agonized, I'm trying all night and I can't make it in order to be OK. I can try write something else...
    MMilla
     
    MMilla, Nov 25, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Daniel
    Replies:
    1
    Views:
    1,072
    Kevin Collins
    Aug 14, 2003
  2. Ivan Paganini

    Problem with vector<double> alocation

    Ivan Paganini, Oct 4, 2003, in forum: C++
    Replies:
    3
    Views:
    383
    Kevin Goodsell
    Oct 4, 2003
  3. Mara Guida

    const and array of array (of array ...)

    Mara Guida, Sep 2, 2009, in forum: C Programming
    Replies:
    3
    Views:
    521
    David RF
    Sep 3, 2009
  4. Tom
    Replies:
    3
    Views:
    234
    salsablr
    Dec 20, 2004
  5. Tuan  Bui
    Replies:
    14
    Views:
    524
    it_says_BALLS_on_your forehead
    Jul 29, 2005
Loading...

Share This Page