View previous topic :: View next topic |
Author |
Message |
-erix- n00b
Joined: 16 Nov 2003 Posts: 47
|
Posted: Mon Jan 12, 2004 7:20 pm Post subject: a few basic c++ questions |
|
|
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 |
|
|
far Guru
Joined: 10 Mar 2003 Posts: 394 Location: Stockholm, Sweden
|
|
Back to top |
|
|
S_aIN_t Guru
Joined: 11 May 2002 Posts: 488 Location: Ottawa
|
Posted: Mon Jan 12, 2004 9:12 pm Post subject: |
|
|
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 |
|
|
Braempje l33t
Joined: 31 Jan 2003 Posts: 748
|
|
Back to top |
|
|
Antti Alien n00b
Joined: 28 Nov 2003 Posts: 74 Location: Tampere, Finland
|
Posted: Tue Jan 13, 2004 9:47 am Post subject: Re: a few basic c++ questions |
|
|
-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 |
|
|
Säck Tux's lil' helper
Joined: 13 Dec 2003 Posts: 141 Location: Switzerland
|
|
Back to top |
|
|
swingman Tux's lil' helper
Joined: 19 Mar 2003 Posts: 88 Location: Sweden
|
Posted: Tue Jan 13, 2004 10:22 am Post subject: Re: a few basic c++ questions |
|
|
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 |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Tue Jan 13, 2004 1:47 pm Post subject: |
|
|
Also take a peek at Brucke Eckel's Thinking in C++ series. The ebook versions are free to download. |
|
Back to top |
|
|
|