Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
After experiencing problems over the past few weeks, I am convinced that the C compiler I am using simply does not provide enough memory for my needs. Among other things: I wrote a simple program with nothing more than a single call to malloc(). The results: when I approach 50-60,000 bytes, it returns that malloc failed. The size of my data has now grown to a point where I do need this much memory and more.
Until now, I have been running a C compiler I downloaded for free from the internet called, I believe, pacific c. I run it in DOS, through the command 'pacc'. I have just found out that there are C compilers that run through windows, not DOS. Maybe this is actually the standard; I do not know. From comments I have heard, it is my understanding that there are C compilers out there which provide much, much more memory than 50-60K.
So my questions are: What compilers are you people out there using? How did you get them? Are they free or at least inexpensive? Do you know any links? (Note that at this point I do not need C++.)
I would be very grateful for help in this, because this problem is greatly impeding my progress.

All are free:
gcc.gnu.org
http://www.delorie.com/djgpp/
Borland C++ 5.5
http://www.borland.com/products/downloads/download_cbuilder.html

I use Bloodshed Dev C/C++ mingw compiler. It is a GUI compiler that compiles libs, dlls, console proggies, Windows programs, etc. And it's free.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |