LinuxQuestions.org
Review your favorite Linux distribution.
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 07-12-2008, 09:04 AM   #1
megerdin
Member
 
Registered: Jul 2007
Location: London
Distribution: FC11,FC10,FC7,FC4,Centos 5.1,Ubuntu,Mandrake Linux,puppy.LinuxMint.Opensuse
Posts: 181

Rep: Reputation: 31
want to learn C++


I am interested to learn C++ Programing.
Thats why I asked some of my friend they suggest me to Read The book
Teach yourself C++ By Herbert Schildt.and this is the best.

I tried with Google to free download this book in pdf format.
But I am disappointed.

Any one know any link to download this book.

please help !




all the best of u
 
Old 07-12-2008, 09:45 AM   #2
mongoosecage
Member
 
Registered: Jun 2008
Distribution: Slackware 13.0, Ubuntu 9.10, Windows XP Pro SP3
Posts: 100

Rep: Reputation: 15
www.gigapedia.com or something? Has a library of nice pdf books.

If this is your first language and you can't handle it suggest you go to higher level languages. They are easier.
 
Old 07-12-2008, 09:49 AM   #3
dmail
Member
 
Registered: Oct 2005
Posts: 970

Rep: Reputation: Disabled
Quote:
I tried with Google to free download this book in pdf format.
But I am disappointed.
That is because it is not a free book.
I would say you avoid the book which has been suggested like the plague(I have posted why in another thread on this board), instead use Bruce Eckel's.

Last edited by dmail; 07-12-2008 at 10:00 AM. Reason: added link to referenced thread
 
Old 07-12-2008, 10:49 AM   #4
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
Advantages To Being Your First Language

Quote:
Originally Posted by megerdin View Post
I am interested to learn C++ Programing.
Thats why I asked some of my friend they suggest me to Read The book
Teach yourself C++ By Herbert Schildt.and this is the best.

I tried with Google to free download this book in pdf format.
But I am disappointed.

Any one know any link to download this book.

please help !




all the best of u
There is nothing wrong with learning C++, but how often are you going to be using it? As you are learning C++, how are you going to get experience?

Would you do better by learning a programming language like Ruby, Java, or Python, if you will wind up using it more?

As to downloading any book on any technical subject, you are more likely to find course notes at universities, than a free book to download.
 
Old 07-12-2008, 02:34 PM   #5
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Higher level languages might be easier to learn, but if you know you'll need C++, that's what you should study then. Though downloading and flapping trough a book isn't maybe the best way to go; if you can, you should attend a course that teaches the basics of the language so you'll get on your way and can then more easily read books about the language and it's finer parts. My personal experience is that starting with a new language by reading a 1000 pages long book is usually too exhausting to get good results with, compared to learning with other people that know the thing already and aid you with examples. Books don't answer personal questions

It could also help if you learned the basics of C first. It's fully personal matter and I understand that it might confuse some people (depends on how you learn), but C is a fairly small language and thus fairly easily/quickly learned, and after you know how it works, C++ is like half a friend already. Going to the fine pieces of it is easier then. Though there is a drawback: C++ is stricter and some things you did in C don't apply to (good) C++..well, decide yourself. But it will take time to know it well and even more to be able to work with it smoothly, and there's no shortcut to being able to write good C++ programs. So consider a course if you can..
 
Old 07-12-2008, 02:34 PM   #6
leedude
Member
 
Registered: Jan 2007
Location: Scotland
Distribution: Fedora, Debian
Posts: 81

Rep: Reputation: 15
Quote:
Originally Posted by mongoosecage View Post
If this is your first language and you can't handle it suggest you go to higher level languages. They are easier.
IMHO that isn't always the case. i agree as far as: VB is easier than C.
How about ASM? - in some cases, far easier than c++.

anyway.....for c++ ive learned alot from http://www.cplusplus.com/
its got a good tutorial, and a reference database for functions/libraries etc.
 
Old 07-12-2008, 02:59 PM   #7
mongoosecage
Member
 
Registered: Jun 2008
Distribution: Slackware 13.0, Ubuntu 9.10, Windows XP Pro SP3
Posts: 100

Rep: Reputation: 15
Quote:
Originally Posted by leedude View Post
IMHO that isn't always the case. i agree as far as: VB is easier than C.
How about ASM? - in some cases, far easier than c++.

anyway.....for c++ ive learned alot from http://www.cplusplus.com/
its got a good tutorial, and a reference database for functions/libraries etc.
Python atleast, very easy. Haven't tried graphical user interface yet. Fiddling with Glade.
 
Old 07-12-2008, 03:12 PM   #8
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
C++ is not difficult, at least at an elementary level. I took it as an a first college-level computer science course, forget the text. You could just google for online texts, many intro-level texts, and the texts used at various universities. It seems that many universities have switched over to java as the introductory computing course. C++ is a relatively high-level language, and didn't seem any harder to pick up than BASIC or FORTRAN-77 or Mathematica. Mind you, I have only one course level experience in any of these. Structured programming is pretty much the same in all of them, and I only saw object oriented stuff for about a month or so, never to be used afterward (I mainly did small-scale projects in numerical computing with Fortan).

http://www.google.com/products?hl=en...num=1&ct=title

http://www.amazon.com/C-Introduction.../dp/0137443927

http://www.deitel.com/books/cpphtp4/

online text:

http://cs.nmhu.edu/personal/curtis/c...es/cs1text.htm

Last edited by ehawk; 07-12-2008 at 03:16 PM.
 
Old 07-13-2008, 04:23 AM   #9
megerdin
Member
 
Registered: Jul 2007
Location: London
Distribution: FC11,FC10,FC7,FC4,Centos 5.1,Ubuntu,Mandrake Linux,puppy.LinuxMint.Opensuse
Posts: 181

Original Poster
Rep: Reputation: 31
Thanks a core
everyone for a good response.
Actually My friend suggest me to learn it because
C is the basic if any language
and If I learn C first then any other language would be easier to grasp.
That's why I am interested to learn C++ first.


Isn't true?

Any wrong with my decision?



Thank u again
 
Old 07-13-2008, 04:27 AM   #10
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
I don't think it matters too much. If you know you need to use a certain language for something, then obviously that dictates which language to learn first. Otherwise, any "general purpose" language is good in my opinion.
 
Old 07-13-2008, 04:57 AM   #11
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
My understanding is that C allows you a more hands on approach to memory management, and when you need to know when during a process that memory will be freed up, as opposed to languages using automatic garbage collection, such as java. The linux kernel, for example, is written in C, since the operating system kernel needs to interact with the hardware at a fairly low level.

Recent advances in Just in Time compilation and other additions have greatly increased java's performance.

As mentioned, it depends on what you want to do and what the particular project you are working on uses. Java is very popular now, and as I mentioned earlier, universities seem to be switching from C++ to it as a first course in programming. Its cross platform support is very nice.

Many people suggest python as a first programming language. It is very easy to read and have other people maintain, and many people state that they feel more productive using it to get the job done.

There is much to be said about other programming languages and their strengths/niches.

C/C++, Java, and Python would all work as general programming languages, I think. All are widely used. Once you pick up one, the others will come more easily.

I don't think there is any problem in learning C++ first, but perhaps you should speak with friends in industry or instructors.

Last edited by ehawk; 07-13-2008 at 05:08 AM.
 
Old 07-13-2008, 09:38 AM   #12
megerdin
Member
 
Registered: Jul 2007
Location: London
Distribution: FC11,FC10,FC7,FC4,Centos 5.1,Ubuntu,Mandrake Linux,puppy.LinuxMint.Opensuse
Posts: 181

Original Poster
Rep: Reputation: 31
Thanks
I am going to grab C++ first ..
Later I will look at java python .....and off course PHP ...


hope I may join with you in programming discussion soon.

all the best of u
 
Old 07-19-2008, 08:44 AM   #13
resetreset
Senior Member
 
Registered: Mar 2008
Location: India
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,320

Rep: Reputation: 62
learn BASIC.
 
  


Reply

Tags
at, best, book, c++, course, first, friend, grab, interested, java, look, php, programing, python, read, teach, will


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Looking to learn something new Malfo Linux - General 9 07-12-2008 09:54 AM
Trying To Learn Need Some Help! dale504 Linux - Newbie 4 02-18-2008 02:05 PM
How to Learn? Controlpanel Linux - Newbie 13 09-10-2007 11:32 AM
Hello everyone Looking to learn as most as I can Smoken LinuxQuestions.org Member Intro 3 10-28-2005 07:49 AM
new and really want to learn Fear Linux - Newbie 3 11-09-2004 09:16 AM


All times are GMT -5. The time now is 06:06 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration