469,963 Members | 1,924 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,963 developers. It's quick & easy.

I am new to programming and wanted to know where a good place to start for C++

Hello I am new to programming and want to know what is a good free
compiler is. I am asking this because there are so many of them and I
just want to start programming also a good website for programming to
help me, I want to major in the computer programming field and want to
know if there are any really good tutorial sites. Thanks your input
is much appriciated.

Sep 27 '07 #1
13 1842

<1j*****@gmail.comwrote in message
news:11**********************@y42g2000hsy.googlegr oups.com...
Hello I am new to programming and want to know what is a good free
compiler is. I am asking this because there are so many of them and I
just want to start programming also a good website for programming to
help me, I want to major in the computer programming field and want to
know if there are any really good tutorial sites. Thanks your input
is much appriciated.

If you are serious, then you need a book or two. You can learn a good deal
about programming without even having a computer, let alone a compiler.
Strangely, the computer can sort of get in the way of thinking. I recommend
a visit to a library or a used-book store. Which compiler you end up with
makes little difference. Compile the "Hello World" program with two or
three of them (you can probably find the code for it on the Internet), and
use the one you like most. You have a lot of wonderful thinking ahead of
you. Have fun!

-Bill
(C++ Instructor)
Sep 27 '07 #2
On 2007-09-27 05:00, 1j*****@gmail.com wrote:
Hello I am new to programming and want to know what is a good free
compiler is. I am asking this because there are so many of them and I
just want to start programming also a good website for programming to
help me, I want to major in the computer programming field and want to
know if there are any really good tutorial sites. Thanks your input
is much appriciated.
For compilers I would go with Microsoft Visual C++ 2005 Express on
Windows and gcc on any other platform. When it comes to tutorial my
experience is that the good ones costs money and are called book, you
might also find some at your local library. There are a few decent
reference sites on the net but no good tutorials (except for a few with
very narrow topics).
--
Erik Wikström
Sep 27 '07 #3

Erik Wikström wrote in message...
>
For compilers I would go with Microsoft Visual C++ 2005 Express on
Windows and gcc on any other platform.
Why do you suggest gcc ( the Gnu 'C' compiler )?

--
Bob R
POVrookie
- -
Dev-C++ IDE: http://www.bloodshed.net/
MinGW (GNU compiler): http://www.mingw.org/
MinGWStudio http://www.parinyasoft.com/
Code::Blocks http://www.codeblocks.org/
Sep 27 '07 #4
On 2007-09-27 20:51, BobR wrote:
Erik Wikström wrote in message...
>>
For compilers I would go with Microsoft Visual C++ 2005 Express on
Windows and gcc on any other platform.

Why do you suggest gcc ( the Gnu 'C' compiler )?
gcc = GNU Compiler Collection

--
Erik Wikström
Sep 27 '07 #5
On Sep 27, 10:05 pm, Erik Wikstrm <Erik-wikst...@telia.comwrote:
On 2007-09-27 20:51, BobR wrote:
Erik Wikström wrote in message...
For compilers I would go with Microsoft Visual C++ 2005 Express on
Windows and gcc on any other platform.
Why do you suggest gcc ( the Gnu 'C' compiler )?

gcc = GNU Compiler Collection

--
Erik Wikstrm

Anyway if anybody want to discuss the matter I would say g++ for c++ -
even though it is just that part of gcc that is called g++, but that
is the command I use.
Works great.
Just remember to learn the flags for the compiler.
That is partly why I don't like the Microsoft one, lack of control,
only gui.

Just go ahead and use something useful as mingw or something.

Sep 27 '07 #6
On 2007-09-27 17:04:02 -0400, ThaDoctor <To*********@gmail.comsaid:
That is partly why I don't like the Microsoft one, lack of control,
only gui.
Microsoft's command line compiler takes a huge set of options. All the
control you could possible want.

--
Pete
Roundhouse Consulting, Ltd. (www.versatilecoding.com) Author of "The
Standard C++ Library Extensions: a Tutorial and Reference
(www.petebecker.com/tr1book)

Sep 27 '07 #7

Erik Wikström wrote in message...
On 2007-09-27 20:51, BobR wrote:
Erik Wikstrf¶m wrote in message...
>
For compilers I would go with Microsoft Visual C++ 2005 Express on
Windows and gcc on any other platform.
Why do you suggest gcc ( the Gnu 'C' compiler )?

gcc = GNU Compiler Collection
Ah, you meant GCC, not gcc/g++.

GCC == GNU Compiler Collection
gcc == GNU 'C' compiler
g++ == GNU 'C++' compiler

Confusing, isn't it?
--
Bob R
POVrookie
Sep 27 '07 #8
On 2007-09-27 23:49, BobR wrote:
Erik Wikström wrote in message...
>On 2007-09-27 20:51, BobR wrote:
Erik WikstrÃf¶m wrote in message...

For compilers I would go with Microsoft Visual C++ 2005 Express on
Windows and gcc on any other platform.

Why do you suggest gcc ( the Gnu 'C' compiler )?

gcc = GNU Compiler Collection

Ah, you meant GCC, not gcc/g++.

GCC == GNU Compiler Collection
gcc == GNU 'C' compiler
g++ == GNU 'C++' compiler

Confusing, isn't it?
Even more confusing when 'gcc test.cpp' will compiler the file as C++.

--
Erik Wikström
Sep 28 '07 #9
On Sep 27, 11:04 pm, ThaDoctor <Tobias.S...@gmail.comwrote:

[...]
That is partly why I don't like the Microsoft one, lack of control,
only gui.
Lack of control at what level. The Microsoft C++ compiler has a
large number of options, just like every other compiler. From
what little I've seen, they can all be set explicitly in the
GUI, if that's what you want. And the statement "only GUI" is
obviously false: in my own work, I don't use the GUI; I invoke
the compiler from the same makefiles I use on my Unix based
development machines. (But I'm not sure that this is the
appropriate route for a beginner.)

--
James Kanze (GABI Software) email:ja*********@gmail.com
Conseils en informatique oriente objet/
Beratung in objektorientierter Datenverarbeitung
9 place Smard, 78210 St.-Cyr-l'cole, France, +33 (0)1 30 23 00 34

Sep 28 '07 #10
On 9/28/2007 10:42 AM, Erik Wikström wrote:
On 2007-09-27 23:49, BobR wrote:
>Erik Wikström wrote in message...
>>On 2007-09-27 20:51, BobR wrote:
Erik WikstrÃf¶m wrote in message...
For compilers I would go with Microsoft Visual C++ 2005 Express on
Windows and gcc on any other platform.
Why do you suggest gcc ( the Gnu 'C' compiler )?
gcc = GNU Compiler Collection
Ah, you meant GCC, not gcc/g++.

GCC == GNU Compiler Collection
gcc == GNU 'C' compiler
g++ == GNU 'C++' compiler

Confusing, isn't it?

Even more confusing when 'gcc test.cpp' will compiler the file as C++.
....and forget to link '-lstdc++' !

S.
--
Stefan Naewe stefan dot naewe at atlas-elektronik dot com
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
Sep 28 '07 #11
On Sep 27, 11:00 am, 1jas...@gmail.com wrote:
Hello I am new to programming and want to know what is a good free
compiler is. I am asking this because there are so many of them and I
just want to start programming also a good website for programming to
help me, I want to major in the computer programming field and want to
know if there are any really good tutorial sites. Thanks your input
is much appriciated.
As your are a beginner,choose Visual C++,it's a popular and
comfortable IDE,command line based compiler is boring.

Sep 29 '07 #12
On Fri, 28 Sep 2007 17:07:57 -0700, UINDEX wrote:
As your are a beginner,choose Visual C++,it's a popular and
comfortable IDE,
comfortable ? how about Bloodshed Dev C++

command line based compiler is boring.
worst advice I have ever seen :-(

--
http://lispmachine.wordpress.com

Sep 29 '07 #13
>On Sep 27, 11:00 am, 1jas...@gmail.com wrote:
Hello I am new to programming and want to know what is a good free
compiler is. I am asking this because there are so many of them
#1) beginner to programming and beginner to computers ?

#2) Which OS you are working on: UNIX, Mac, Linux, Windows, Solaris ?

#3) beginner to programming and want to compiler. There is no compiler for
programming. There are compilers for Programming Languages. Though you
mentioned that in a C++ newsgroup, so i assume you want C++ Copmiler but
telling it explicitly could have been a good idea.

you gace too little information. Give us more, so that we could help you.
we can.

>and I
just want to start programming also a good website for programming to
help me, I want to major in the computer programming field and want to
know if there are any really good tutorial sites.
since you post in C++ newsgroup. I ask, Why you want to want to start with
C++ , if you are a beginner to programming ?
-- arnuld
http://lispmachine.wordpress.com

Sep 29 '07 #14

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

34 posts views Thread by Volker Hetzer | last post: by
9 posts views Thread by Don Blow, Jr. | last post: by
134 posts views Thread by evolnet.regular | last post: by
26 posts views Thread by Kanthi Kiran Narisetti | last post: by
2 posts views Thread by Ed_P | last post: by
12 posts views Thread by Harry | last post: by
11 posts views Thread by Vitor | last post: by
11 posts views Thread by nikhil | last post: by
1 post views Thread by rainxy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.