LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   C++ Book (https://www.linuxquestions.org/questions/programming-9/c-book-169510/)

gamehack 04-13-2004 07:08 AM

C++ Book
 
I need to buy some books for Linux Programming :) Please,tell me which are the best :) And,what does this file contain <string.h> , it is not included in the ANSI/ISO C++ ? And aren't there a variable type string ? For example,

string mysting; ?

Thanks

muah 04-13-2004 07:27 AM

I like these two books:

Stroustrup, B.: The C++ programming language, third edition, Addison-Wesley, 1997
Eckel, B.: Thinking in C++, 2nd edition, Prentice-Hall, 2000

kooch 04-13-2004 07:38 AM

<string.h> is C

gamehack 04-13-2004 07:40 AM

what exactly does this string.h do ?

xviddivxoggmp3 04-13-2004 03:24 PM

for a good string reference check out the following link
http://www.msoe.edu/eecs/ce/courseinfo/stl/string.htm

if you want a good thread on c++ books check this out.
http://www.linuxquestions.org/questi...hreadid=163131

melinda_sayang 04-14-2004 02:29 AM

Quote:

Originally posted by kooch
<string.h> is C
<string.h> is deprecated file header name.

<cstring> is C.

<string> is C++.


http://www.advancedlinuxprogramming.com

http://www.mindview.com

They are free. If you want to spend money.... C++ How To Program ( Deitel & Deitel ) is good although you will get MSVC++ compiler. The book teach you C++ standard...... not os spesific.....

Don't forget search the books in http://www.wrox.com .

maiorino 04-14-2004 05:14 AM

In a few more words...
 
I have to say nothing more than the others; perhaps only clarifying a few things:
Stroustrup's book is a very good suggestion, as he's the father of C++ language, so that he introduces not only the language, but he also does it in the way a C++ programmer should think.
The Eckel's book goes exactly in the same direction (you can see it also from the title), and that's the most important thing in a programming language or in any other laguage, also human: thinking natively in that language.
The file string.h is an (now they say) old C library needed to perform library operations on memory and strings (typically, string and memory concatenation, copy, movement, setting, comparison, searching, etc.).
It should come with any C/C++ development package, as it is ANSI C, and you can easily have a look at it with any editor as it is an ASCII file, BUT don't edit it! You will find mainly function declarations and the definition of the size_t type.
Hope it helped!

:study: Marino

gamehack 04-14-2004 06:23 AM

Thank you guys :)


All times are GMT -5. The time now is 09:06 AM.