'code too large' error with 2D array

From: Mac (lojurk_at_wp.pl)
Date: 10/31/03

  • Next message: Anthony Borla: "Re: 'code too large' error with 2D array"
    Date: 30 Oct 2003 23:48:34 -0800
    
    

    Hi!. I've got following problem. The matter concerns 2D array
    filled with ints. Size: no of rows: 2000, no. of columns: 20.
    I have to process it in whole piece at one runtime
    cycle of the program. But here comes my problem.
    On my pasting the whole array into the code of it, then
    compiling, I get following error:
        ' Error no. 5. Code too large'.
    Tried to change the type of the array to long but
    to no avail. Everything works fine up to:
        no. of rows: 400 and no. of columns: 20.
    What's going on?. Can I get around it somehow?.
    I think about puting the array into separate file or
    groups of files(text file?) but how to put
    it inside the program?. Maybe there is some other
    easier solution?.


  • Next message: Anthony Borla: "Re: 'code too large' error with 2D array"

    Relevant Pages

    • Re: Style question: #include
      ... I have a program that uses a large lookup table, ... array in the source: ... static int bigtbl={123, 456, ... should the separate file have a .c or .h ...
      (comp.lang.c)
    • Re: Style question: #include
      ... Maybe you can put it in a special named file such as *bigtbl.data*. ... array in the source: ... static int bigtbl={123, 456, ... should the separate file have a .c or .h ...
      (comp.lang.c)
    • Style question: #include
      ... I have a program that uses a large lookup table, ... array in the source: ... static int bigtbl={123, 456, ... should the separate file have a .c or .h ...
      (comp.lang.c)
    • Re: Style question: #include
      ... array in the source: ... static int bigtbl={123, 456, ... Now this table is pretty big, and having it clutter up my main source ... should the separate file have a .c or .h ...
      (comp.lang.c)
    • Re: question about pointer define
      ... p is a pointer to an array of 3 ints. ... Note that we considered this conversion rule in two different ...
      (comp.lang.c)