|
[Sponsors] |
September 13, 2004, 18:58 |
C++ manual for RedHat 9.0
|
#1 |
Guest
Posts: n/a
|
Hi all,
I am converting my FEM code in C to C++. I am new to C++. So,I am looking for C++ manual for RedHat 9.0, similar to the one that exist for C...( the usual one where you type "man" and then keyword...you guys know what I am talking about!!).I searched the redhat network,other forums for clues, could'nt find any! BTW does it come with redhat or i need different shell to access it, if it does ??? Thanks, Abhijit |
|
September 14, 2004, 04:25 |
Re: C++ manual for RedHat 9.0
|
#2 |
Guest
Posts: n/a
|
When I type in "man g++" on one of our RH9 machines, I get the combined manual page for C and C++:
gcc - GNU project C and C++ compiler There are C++ Language Options listed after the C Language Options. Or are you looking for a language reference? |
|
September 14, 2004, 10:59 |
Re: C++ manual for RedHat 9.0
|
#3 |
Guest
Posts: n/a
|
Hi Steve,
Thanks. you are right! I am probably lookin for language reference. If I type " man cout" it says " No entry for cout" . Is this something that I could download and install ?? Thanks, Abhijit |
|
September 14, 2004, 12:13 |
Re: C++ manual for RedHat 9.0
|
#4 |
Guest
Posts: n/a
|
Looks to me as if you need a C++ book, not the manual. As for the details of the C++ compiler you are using, have a look at
http://gcc.gnu.org/ The official language reference is: @Misc{C++Standard, title = {Programming Languages -- C++}, howpublished = {ISO/IEC Standard 14822:1998}, year = 1998 } There's lots of books (in a more user-friendly format); I'll leave the choice to you. Hrv |
|
September 14, 2004, 16:18 |
Re: C++ manual for RedHat 9.0
|
#5 |
Guest
Posts: n/a
|
Hi Hrvoje, And which book on C++ do you think we (c++ newbbies) should go for? Is there any good one online? I have read some books on C++, but I still miss something about good practice and good policies, code design strattegies, best (more efficient) ways of doing that, etc... My main goal is to be able to understand better and develop new applications using FOAM. Best regards, Luiz
|
|
September 14, 2004, 16:47 |
Re: C++ manual for RedHat 9.0
|
#6 |
Guest
Posts: n/a
|
There is a very good C++ online manual on informIT (www.informit.com). The complete address is http://www.informit.com/guides/guide.asp?g=cplusplus.
Márcio |
|
September 15, 2004, 05:43 |
Re: C++ manual for RedHat 9.0
|
#7 |
Guest
Posts: n/a
|
For scientific computing in C++ see the following
G. Buzzi-Ferraris: Scientific C++ (Addison-Wesley 1993) and Scientific and Engineering C++: An Introduction with Advanced Techniques and Examples * By John J. Barton, Lee R. Nackman. |
|
September 15, 2004, 05:58 |
Re: C++ manual for RedHat 9.0
|
#8 |
Guest
Posts: n/a
|
Barton and Nackman gets my vote too. It's an excellent book.
|
|
September 15, 2004, 10:29 |
Re: C++ manual for RedHat 9.0
|
#9 |
Guest
Posts: n/a
|
Hi Luiz,
I've got my own preferences which may not be appropriate to all - depends how you like to work. The basic advice for FOAM is to get a really big book - FOAM uses (almost) all features of the language. Pay particular attention to virtual functions and templates. Here's a few references: Basic C++: Stroustrup: The C++ Programming Language (third edition) Meyers: Effective C++ (second edition) Templating: Vandervoorde: C++ Templates Josuttis: The C++ Standard Library Language standard (useful for arguing with compiler writers): Programming Languages - C++: ISO/IEC Standard 14822:1998 I also know that Lippman: C++ Primer is a good book, but it will teach you the basics and it is not a complete reference (you need one of those). Finally, for my taste FOAM is a very good set of (relevant) examples of C++ usage by some of the best programmers I know, so when you're stuck it is always a good idea to look through the source to see how other people have solved similar problems. I have personally learned C++ by learning FOAM. Enjoy, Hrv |
|
September 15, 2004, 11:25 |
Re: C++ manual for RedHat 9.0
|
#10 |
Guest
Posts: n/a
|
Hello Hrv,
Thanks for your response. I have a old C++ book (How to Program C++ Deitel & Deitel 1997). However I found many simple programs given in the book don't even compile. I think the book was meant for Windows! (I bought old version, bcos new books in US cost arm and leg). I use c++/g++. I got stuck with simple things... For eg.. I found out the compiler gives an error message if I include the extension of the header file, as given in my book. Also unlike in the book, I found that I need to state that I am using standard namespace everytime... Do you know any uptodate book/weblink for C++ ? Can you please pass on the weblink for FOAM ? Thanks, Abhijit |
|
September 15, 2004, 14:09 |
Re: C++ manual for RedHat 9.0
|
#11 |
Guest
Posts: n/a
|
I can give you the weblink for FOAM www.nabla.co.uk I think it is really a fantastic open source code to those who want to experiment new ideas in CFD or Continuum Mechanics. I am enjoying a lot. Give it a try! Best regards, Luiz
|
|
September 15, 2004, 19:34 |
Re: C++ manual for RedHat 9.0
|
#12 |
Guest
Posts: n/a
|
Heya,
You need a newer book - the standard (in 1998) has introduced namespaces and new "system" file inclusion syntax. Off the top of my head, I don't know any C++ resources on the web but have a go at Google, I am sure you'll find some tutorials, notes, examples and similar. The FOAM web link (thanks, Luiz!) is http://www.nabla.co.uk Hrv |
|
September 16, 2004, 04:44 |
Re: C++ manual for RedHat 9.0
|
#13 |
Guest
Posts: n/a
|
I just googled for "C++ tutorial". The first few hits looked pretty promising. If I were a newbie, I'd spend some time with them and g++ (version 3.x)
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sol manual | sania | Main CFD Forum | 22 | January 7, 2016 13:50 |
Description file for manual decomposition | A.Devesa | OpenFOAM Running, Solving & CFD | 2 | July 4, 2011 09:09 |
CFX11.0 call intel fortran 9.0 error | Lan | CFX | 1 | July 15, 2008 06:06 |
Can somebody send me a Fluent 6 UDF manual?? | KKLAU | FLUENT | 4 | April 14, 2004 17:37 |