PDA

View Full Version : C Compiler.....


JigPu
10-29-01, 09:00 PM
Do you guys know where I can download a good free compiler? I already tried finding some, but the one that was any good, I couldn't make execute my program correctly!!

I'm trying to learn C (and mabey C++), but it's going to be REAL hard without something for me to expiriment programming with.....

JigPu

eobard
10-29-01, 09:19 PM
Originally posted by JigPu
Do you guys know where I can download a good free compiler? I already tried finding some, but the one that was any good, I couldn't make execute my program correctly!!

I'm trying to learn C (and mabey C++), but it's going to be REAL hard without something for me to expiriment programming with.....

JigPu

I knew of a link to where Borland was giving away free copies of one of their C or C++ compilers. All you had to do was register your name and email address to qualify for it. I lost all of my net histories when I reinstalled but I'll see if I can find it again. Be back soon.

eobard
10-29-01, 09:43 PM
Check your pm.

Zuck Gou :)
10-29-01, 11:51 PM
Aww come on Eobard, post it for all of us :)

Krusty
10-30-01, 01:37 AM
I thought borland was free myself. Try looking for borland or turbo c++.

jbird
11-02-01, 01:08 PM
You can't beat Linux and the free gcc (Gnu C compiler)! In fact, you can't beat free Linux at all!!!!!!

JigPu
11-02-01, 05:47 PM
Originally posted by jbird
You can't beat Linux and the free gcc (Gnu C compiler)! In fact, you can't beat free Linux at all!!!!!!
Tried it.... Well, mabey TRIED isn't the right word.... Couldn't even get it to download! Found a Windows IDE version, and it refused to download. Oh well... eobard got me Borland's compiler. Now I just gotta figure out how it works... And why it dosen't like my program.

JigPu

engjohn
11-04-01, 11:41 PM
Are you sure it is not a problem with your code? If you have tried several c/c++ compliers, it could be your code...

If you want, post your code so we can look and see if we see any probs with it...
When you are learning, there are a lot of syntax/typo errors...

JigPu
11-05-01, 05:14 PM
Well, actually this is the only compiler that (I think....) I've found the compile option for.... It can't be a spelling error on my end because I tried copy and paste off the site. Mabey they typed it wrong... Or it's just bad C...

#include < stdio.h>

int main ( ) {
printf("Hello World");
return 0;
}

That's right off the site... Though, now I'm getting a diffrent error when trying to compile. It says that it can't open include file 'stdio.h'. Also, it is complaining of a call to an undefined function printf() in function main().

I think I get what it's getting at, but I can't find out how to fix it!

JigPu

engjohn
11-05-01, 08:11 PM
do you have all of the ".h" files installes on you system? These are the header files and they tell the system how to use the functions like printf and the like.

There should be like 25MB of header files in a folder called include or something like that.

If you do not have the header files, you cannot compile and run anything...

JigPu
11-05-01, 09:27 PM
Yeah... Got um. 38.1MB worth.... Could there be some werid problem with the compiler finding them?? I haven't changed the directory structure from the install, so what could be wrong??
:confused: :confused: :confused:

EDIT: Man!! Why don't they make readme files more visible??? I just now notice a readme.txt, and lo! It says to put in a config file telling the compiler where to find the Include and Lib paths! Why, oh why don't they put this stuff in a more visible location?!? Like it's help file??

Thanks for the help.... Hopefully my learning C should be smooth sailing.... Hopefully....

JigPu

a_yeap
11-10-01, 05:14 PM
For the Borland compiler...

go to

community.borland.com/museum

you'll have to register but it gives away free old borland compilers for c, c++ and PASCAL and others

But I agree...get Linux and use the free compilers and you can progress easily to C++, Java, etc...thats what I wanna do...C is just a starting point

dcarrera
11-12-01, 01:09 AM
If you want to learn C I would also suggest getting Linux. It comes with gcc, which is one of the best C/C++ compilers around. Also, Linux has a lot of tools for program development. This is one of the reasons why I use it.

Just my two cents.

Punk
11-13-01, 11:14 PM
if u want a good free C/C++ compiler for both windows and linux go to http://www.bloodshed.net/. They also have a good free pascal compiler.:)