Your ramblings were superfluous and lacked substance!<br><br>Kidding. That&#39;s me being a smart-alek. You asked to comment on your ramblings...<br><br>Though this is based on Ubuntu (and possibly not your distro of choice) you may find this tutorial useful.<br>
<br><a href="http://www.ubuntugeek.com/how-to-install-c-and-c-compilers-in-ubuntu-and-testing-your-first-c-and-c-program.html">http://www.ubuntugeek.com/how-to-install-c-and-c-compilers-in-ubuntu-and-testing-your-first-c-and-c-program.html</a><br>
<br>And yes, I believe it&#39;s g++ as well.<br><br>-Kyle<br><br><div class="gmail_quote">On Wed, May 20, 2009 at 7:59 PM, Michael John Walters <span dir="ltr">&lt;<a href="mailto:waltersm@telusplanet.net">waltersm@telusplanet.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello All,<br>
<br>
I know that I have a C compiler on my system because I wrote a simple C<br>
programme called csimple.c and used the command, gcc csimple.c -o<br>
csimple.o and got the object code file csimple.o and when I did the<br>
command ./csimple.o the programme worked beautifully giving me exactly<br>
the result I wanted.<br>
<br>
However, when I tried to compile a simple C++ program with gcc I got a<br>
number of compilation errors indicating that the gcc compiler is not<br>
also a C++ compiler.<br>
<br>
I was wondering what the C++ compiler is called and whether it is easy<br>
to install. If I knew the name of the C++ compiler I could even do an<br>
aptitude search &lt;C++ compiler&gt; where &lt;C++ compiler&gt; is the correct name<br>
of the C++ compiler and I could find out whether it is on my system or<br>
not. If it is on my system but not yet installed, it should be easy to<br>
install.<br>
<br>
I would like to install the C++ compiler so that I could go through a<br>
C++ programming book that my brother gave me. I see that the book my<br>
brother gave me has a lot of programmes I want to write given as<br>
examples. I would then modify my programmes to do exactly what I want,<br>
And the changes from the examples in the book are very minor. The book<br>
my brother gave me is &quot;How to think like a computer scientist&quot; by Allen<br>
B. Downey C++ Version, First Edition.<br>
<br>
So the two things I would like to find out are &quot;What is the name of the<br>
gnome C++ compiler?&quot; and &quot;What is the command to compile a C++ program?&quot;<br>
<br>
Once my C++ program called cplusplussimple.cpp is compiled successfully<br>
as an object code file called cplusplussimple.o the<br>
command ./cplusplusimple.o should run it, if I am not mistaken.<br>
<br>
Please comment on my ramblings.<br>
<br>
Regards,<br>
<br>
Michael Walters - tier two member<br>
<br>
<br>
_______________________________________________<br>
clug-talk mailing list<br>
<a href="mailto:clug-talk@clug.ca">clug-talk@clug.ca</a><br>
<a href="http://clug.ca/mailman/listinfo/clug-talk_clug.ca" target="_blank">http://clug.ca/mailman/listinfo/clug-talk_clug.ca</a><br>
Mailing List Guidelines (<a href="http://clug.ca/ml_guidelines.php" target="_blank">http://clug.ca/ml_guidelines.php</a>)<br>
**Please remove these lines when replying<br>
</blockquote></div><br>