LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-13-2004, 07:08 AM   #1
gamehack
Member
 
Registered: Jun 2003
Location: Sevenoaks, UK
Distribution: Ubuntu
Posts: 183

Rep: Reputation: 30
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
 
Old 04-13-2004, 07:27 AM   #2
muah
Member
 
Registered: Aug 2003
Location: Europe
Distribution: Slackware (current)
Posts: 228

Rep: Reputation: 33
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
 
Old 04-13-2004, 07:38 AM   #3
kooch
Member
 
Registered: Mar 2004
Location: Upstate NY
Distribution: Slackware/YDL
Posts: 77

Rep: Reputation: 15
<string.h> is C
 
Old 04-13-2004, 07:40 AM   #4
gamehack
Member
 
Registered: Jun 2003
Location: Sevenoaks, UK
Distribution: Ubuntu
Posts: 183

Original Poster
Rep: Reputation: 30
what exactly does this string.h do ?
 
Old 04-13-2004, 03:24 PM   #5
xviddivxoggmp3
Member
 
Registered: Feb 2004
Location: scanf
Distribution: Redhat Enterprise 4.4 AS
Posts: 236

Rep: Reputation: 30
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
 
Old 04-14-2004, 02:29 AM   #6
melinda_sayang
Member
 
Registered: Dec 2003
Location: Petaling Jaya
Distribution: Ubuntu
Posts: 475

Rep: Reputation: 31
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 .
 
Old 04-14-2004, 05:14 AM   #7
maiorino
LQ Newbie
 
Registered: Apr 2004
Location: Spain
Distribution: Mandrake
Posts: 11

Rep: Reputation: 0
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!

Marino
 
Old 04-14-2004, 06:23 AM   #8
gamehack
Member
 
Registered: Jun 2003
Location: Sevenoaks, UK
Distribution: Ubuntu
Posts: 183

Original Poster
Rep: Reputation: 30
Thank you guys
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Best book? moger Fedora 5 02-23-2005 05:53 AM
Slackware book purchase vs. URL: http://www.slackware.org/book/ jtp51 Slackware 5 11-28-2004 04:30 PM
beyond lfs book not available??? or no such book?? tuxfood Linux From Scratch 2 04-17-2004 04:12 PM
Book Ben Sytko Linux - Newbie 9 03-09-2004 06:18 PM
Which book should i get to help me out? terry.trent Linux - General 9 11-03-2003 02:26 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration