Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
a few basic c++ questions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
-erix-
n00b
n00b


Joined: 16 Nov 2003
Posts: 47

PostPosted: Mon Jan 12, 2004 7:20 pm    Post subject: a few basic c++ questions Reply with quote

hi!
i've been coding high-level languages (delphi, php (is it even a language?) and such and now moving on to the little more c++ (plus: its quite hard to compile delphi in linux). i have a few newbie questions:

1. what would be a good c++ reference page?
2. how can i find out which libraries/header files i have installed and where to find reference on them?
3. if i need something there probably existst a header file for e.g. mysql acces how can i find and install it?

and: what books on c++ would you recommend?

any help will be appreciated!

thanks!
//erix
_________________
there is no spoon.
Back to top
View user's profile Send private message
far
Guru
Guru


Joined: 10 Mar 2003
Posts: 394
Location: Stockholm, Sweden

PostPosted: Mon Jan 12, 2004 8:40 pm    Post subject: Reply with quote

http://www.parashift.com/c++-faq-lite/
http://www.sgi.com/tech/stl/
http://www.cplusplus.com/ref/
_________________
The Porthole Portage Frontend
Back to top
View user's profile Send private message
S_aIN_t
Guru
Guru


Joined: 11 May 2002
Posts: 488
Location: Ottawa

PostPosted: Mon Jan 12, 2004 9:12 pm    Post subject: Reply with quote

to be able to access mysql through c++ you need the mysql c++ api. all you have to do is search on google for it. Just follow the link. http://www.google.com/search?q=mysql%20c%2B%2B%20api
_________________
"That which is overdesigned, too highly
specific, anticipates outcome; the anicipation of
outcome guatantees, if not failure, the
absence of grace."
- William Gibson, "All Tomorrow's Parties"
----
http://petro.tanreisoftware.com
Back to top
View user's profile Send private message
Braempje
l33t
l33t


Joined: 31 Jan 2003
Posts: 748

PostPosted: Tue Jan 13, 2004 8:05 am    Post subject: Reply with quote

There is only one C++ book: The C++ Programming Language by Bjarne Stroustrup :D
Btw: it was never meant to learn the language, I did because I had to, and it's quite hard :P
_________________
Dictionary of the Flemish Sign Language - Woordenboek Vlaamse Gebarentaal
Back to top
View user's profile Send private message
Antti Alien
n00b
n00b


Joined: 28 Nov 2003
Posts: 74
Location: Tampere, Finland

PostPosted: Tue Jan 13, 2004 9:47 am    Post subject: Re: a few basic c++ questions Reply with quote

-erix- wrote:
hi!
i've been coding high-level languages (delphi, php (is it even a language?) and such and now moving on to the little more c++ (plus: its quite hard to compile delphi in linux). i have a few newbie questions:


It might be hard to compile delphi in linux since Delphi is a commercial closed source program ;) There is Kylix for Linux from Borland, but it really is'nt nothing like Delphi, though it tries hard. Lazarus is also an RAD enviroment for Linux, but it's still under development. Now, you are heading into the wrong direction. I dont want to make this a fight, but Pascal is so much better than C++ in so many areas. Syntax, compile times, readability...

I succest you take a look at fpc (Free Pascal Compiler www.freepascal.org). If you want to develop gui applications like in Delphi, there are Gtk+ bindings with libglade available for Pascal: http://gtk2forpascal.sourceforge.net/
Back to top
View user's profile Send private message
Säck
Tux's lil' helper
Tux's lil' helper


Joined: 13 Dec 2003
Posts: 141
Location: Switzerland

PostPosted: Tue Jan 13, 2004 10:12 am    Post subject: Reply with quote

Book: C++ Primer

http://www.awl.com/cseng/titles/0-201-82470-1/
_________________
Remember: Gentoo Rocks
Back to top
View user's profile Send private message
swingman
Tux's lil' helper
Tux's lil' helper


Joined: 19 Mar 2003
Posts: 88
Location: Sweden

PostPosted: Tue Jan 13, 2004 10:22 am    Post subject: Re: a few basic c++ questions Reply with quote

A good book to get started would be "Accelerated C++" by Andrew Koenig and Barbara Moo.

Its not very thick, easy to read examples, and filled with "how-to" instead of explaining the internals of how the compiler works (which is frighteningly frequent even in beginners books.)

After that book, I also recommend Stroustrups "The C++ Programming Language."

Once you've read those two, go for Herb Sutter's "Exceptional C++" and "More exceptional C++".

Other good candidates are Scott Meyer's "Effective" series.

A good read to get a feel for why C++ is the way it is, is Stroustrup's "Design and Evolution of C++."

If you want to get seriously advanced, the "C++ Templates: The complete guide" and "Modern C++ Design" (the latter is very very extremely seriously advanced.)
_
/Bjorn.
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Tue Jan 13, 2004 1:47 pm    Post subject: Reply with quote

Also take a peek at Brucke Eckel's Thinking in C++ series. The ebook versions are free to download.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum