Converting char array to double in C?

Using minGW and have a 2D char array issue?

  • So I'm using minGW for my windows compiler for C / C++... I declared a 2D character array of char stringArray[70000][51]. But it segfaults INSTANTLY, come to find out 70,000 is too much for this char array. However in GCC it worked just fine. Apparently the farthest I can go with this char array under minGW as it is, is just around 40,000. Is there ANY way that I can pass this size limit under minGW ?

  • Answer:

    No, afraid not. An array like that is a horrible thing anyway - you're better off using a set of smaller arrays. (Actually you're better off using linked lists if you can handle those.)

ret80sof... at Yahoo! Answers Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.