Big Arrays arrays using B 
Author Message
 Big Arrays arrays using B

Reply to [All ][Big Arrays arrays using B][01-22-95 11:58]
Original written by [Marcus Mac]


MM>Newsgroups: comp.lang.c
MM>Subject: Big Arrays arrays using Borland Turbo C...
MM>Organization: University of Dublin, Trinity College
MM>Can someone help me here...

MM>I am writing a program that uses large arrays 600x600x50, It runs
MM>perfectly on a unix based system using cc. When I bring the source
MM>code home to my pc (16Mb) and try to compile it with Turbo C, the
MM>compiler gives the error:

MM>Array size too large...

MM>Someone suggest something about have to allocate extended memory? I'm
MM>quite a novice with respect to C, Can someone help me here.

MM>Thanks in advance...

MM>Marcus.


    There already are some messages discussing this subject.
    Scan for text 'XMS'
    Good luck.

############################################### #####################
##+----------------------------------------+### #####################
##|      [ RVS Real Vision Software ]      |%## ##     #     ##   ###
##+----------------------------------------+%## ##     %     %     ##


##|________________________________________|%## ##     %## %%##   %%#
####%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%## ###%%%%%## %####%%%##
############################################### ###########%#########
€ CMPQwk #1.4€ UNREGISTERED EVALUATION COPY



Fri, 11 Jul 1997 07:28:53 GMT  
 Big Arrays arrays using B

OB-> Reply to [All ][Big Arrays arrays using B][01-22-95 11:58]
OB-> Original written by [Marcus Mac]

OB-> MM>I am writing a program that uses large arrays 600x600x50, It run
                                         ^^^^^^^^^^^^ ^^^^^^^^^^
OB-> MM>perfectly on a unix based system using cc. When I bring the sour
OB-> MM>code home to my pc (16Mb) and try to compile it with Turbo C, th
                           ^^^^^^
OB-> MM>compiler gives the error:

OB-> MM>Array size too large...

OB-> MM>Someone suggest something about have to allocate extended memory
OB-> MM>quite a novice with respect to C, Can someone help me here.

    You can't allocate, what you don't have.


OB->     There already are some messages discussing this subject.
OB->     Scan for text 'XMS'
OB->     Good luck.

    If the array is the smallest variable size (char), you would
have to have 600*600*50 bytes for just this array and unless my
calculator is wrong, that comes out to 18,000,000 bytes!  He just
doesn't have enough RAM on his "16 Mb" system.  The scarey thing
is that he used the word array in the plural - "arrays".


 * COWDICK 1.00 * If you live long enough, it WILL kill you...



Sun, 13 Jul 1997 05:59:00 GMT  
 Big Arrays arrays using B

:     If the array is the smallest variable size (char), you would
: have to have 600*600*50 bytes for just this array and unless my
: calculator is wrong, that comes out to 18,000,000 bytes!  He just
: doesn't have enough RAM on his "16 Mb" system.  The scarey thing
: is that he used the word array in the plural - "arrays".

        This is an OS-dependent subject.


:  * COWDICK 1.00 * If you live long enough, it WILL kill you...

--

        With best wishes -- Andrew Stesin, Elvisti.Kiev.UA sysadmin.



Tue, 22 Jul 1997 03:55:24 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Big Arrays arrays using Borland Turbo C...

2. Using array index in array initialization list's

3. How To pass 2D String array to VB from VC++ Using Safe array

4. char array (array of array...) question

5. Help...Is the array to big

6. Newbie question: Making arrays bigger

7. Big arrays

8. PLEASE HELP ME ON BIG ARRAY IN BORLAND C

9. Array size to big

10. ? array too big in dos ok in unix

11. How to allocate big array???

12. Very big array & memory

 

 
Powered by phpBB® Forum Software