Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 05-01-2005, 01:13 AM   #1
Member (9 bit)
 
Join Date: Sep 2004
Posts: 418
C Compiler

What is a good (hopefully free) C Compiler? I'd also like a visual program (basically I don't want to make a program in notepad). I haven't programmed with C before, any suggestions?
GraemeM is offline   Reply With Quote
Old 05-01-2005, 01:43 AM   #2
Member (10 bit)
 
Join Date: Jun 2003
Location: Alaska
Posts: 903
Send a message via AIM to ZeratulsAvenger
C or C++? Does it matter? I can't remember. Try this.
ZeratulsAvenger is offline   Reply With Quote
Old 05-01-2005, 03:27 AM   #3
aym
Registered User
 
aym's Avatar
 
Join Date: Nov 2001
Posts: 1,965
Quote:
Originally Posted by ZeratulsAvenger
C or C++? Does it matter? I can't remember. Try this.
Dev-C++ works for both C and C++, I recommend it too.
aym is offline   Reply With Quote
Old 05-01-2005, 05:52 AM   #4
Member (8 bit)
 
rcvalencia9's Avatar
 
Join Date: Oct 2004
Location: Manila, Philippines
Posts: 221
I used Borland Turbo C before. Its DOS based. I use Visual C++ 6.0. My opinion is that you should learn a lower language first. It will make things easier.
rcvalencia9 is offline   Reply With Quote
Old 05-01-2005, 04:28 PM   #5
Member (9 bit)
 
Join Date: Sep 2004
Posts: 418
I know a lower language, I know both VB and JAVA fairly well. Its just that I'm trying to get the basis for a lot of different languages. Thanks guys anyawys, I'll try that out
GraemeM is offline   Reply With Quote
Old 05-01-2005, 04:36 PM   #6
Member (9 bit)
 
Join Date: Sep 2004
Posts: 418
ok, since I'm new to this language, I don't know how it works

The first thing is that I downloaded that Dev one and its about 5mb, I know Java's SDK is over 100mb. Do i have to download something else, or do I have to download every library I want to use seperately. Basically, why is this file so small?

Also, if this compiler works for C and C++, how does it know which one? Is there something in the code where you specify or can the compiler automatically detect by the type of coding (object orinted versus whatever u call what C uses)

Oh and can you make windows interfaces with C, or do you have to use C++?
GraemeM is offline   Reply With Quote
Old 05-01-2005, 05:14 PM   #7
Member (10 bit)
 
Join Date: Jul 2002
Location: University of California, Santa Barbara
Posts: 800
It's smaller because C and C++ are much more compact (some would say less bloated) than Java. That said, the Dev-C++ installer is about 13MB for version 5 (beta), and 7.5MB for version 4. As long as you downloaded one of these it's fine.

It knows if you're using C or C++ because when you create a project it asks you which you want. You can probably also change it after you've created a project in the settings somewhere, but I've never had a need to do that.

I know you can make Windows GUI's in C, probably using the windows API, but I'm not one to ask about that.

Incidentally, since your first post said you don't like making programs in Notepad, I would recomend getting Notepad2, which is IMHO an excellent text editor with context highlighting for multiple languages. I actually prefer writing code in it over the Dev-C++ code editor, but it's kind of a bother to keep switching between Notepad2 and Dec-C++. You may not ever program C++ in it, but it's much better than Windows notepad for any text editing you ever need to do. You can even replace windows notepad with it, but it does take a bit of work (Windows doesn't like you messing around with it's executables).
mattg2k4 is offline   Reply With Quote
Old 05-01-2005, 06:24 PM   #8
Member (9 bit)
 
Join Date: Sep 2004
Posts: 418
alrite, thanks for that. I guess I'll start some command prompt programs soon. Then I can get into GUI's (which is apparently a lot harder than JAVA).
GraemeM is offline   Reply With Quote
Old 05-01-2005, 08:52 PM   #9
Member (10 bit)
 
Join Date: Jul 2002
Location: University of California, Santa Barbara
Posts: 800
Yes, GUI's are more difficult in C/C++ than Java, but, like most things in C++, they run faster and you have much more control over it.
mattg2k4 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:22 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2