473,790 Members | 3,083 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

learning Modern C++

hai all,

i am standing on a "crossroad to C++". I am here in front of you as i
have a problem. i will be brief. Please do not think: "arnuld is sick",
i am really struggling & doing hard-work to become a Modern C++
Programmer & i am feeling as if i am standing on a crossroad. i am
asking because every time i made a decision on my own, in my past, i
always ran into huge wastage of time, money & effort. that is why i am
posting it here:

--Problem-- as you folks know that i want to learn Modern C++ & in my
country "C++ Primer" 4/e & "Accelerate d C++" are not available & being
a jobless person i dont have money to order anything from abroad. i
have these books on my shelf:

1.) "Thinking in C++" 2/e
2.) "C++ Primer" 3/e
3.) "The C++ Programming Language" by Bjarne Stroustrup
4.) An illegal version of "C++ Primer" 4/e as a .chm file on my
Desktop.

i have these 5 options:

1.) read "C++ Primer 4/e" online: cant be done. with online copies
productivity goes down to 20%. reading "physically " really makes the
difference in understanding & learning the language.

2.) i took print-outs of 2-3-4 chapters of C++ Primer 4/e & read them &
found them excellent, though i took a while to understand. it has 800
pages, for me, it means 1000 pages of print outs from my EPSON
dot-matrix in 8 separate folders. it will be very difficult to learn
this way & what if i want to search for some phrase/ideas in C++, i am
"gone" in this case. i speak from experience, i tried this with
"Practical Common Lisp" & trust me, it was huge time wastage with much
less productivity & output (well, that is why Stroustrup created C++
:-)

3.) read "Bruce Eckel": tried that, he makes heavy-use of C. i dont
know C, i dont want to, i want C++.

4.) read "C++ Primer" 3/e: utterly incomprehensibl e to me.

4.) Learn C first -OOA & D book -C++. an excellent way to confuse
myself as i have found that learning "vectors, strings, new-delete"
1st, makes learning "C character arrays & free-malloc" much easier.
(while the opposite is not true, i tried it 2 months ago)

5.) Go directly with Stroustrup: +ve point is i will learn "Pure C++",
-ve point is i dont have any real-life coding experience, hence i found
it *too* dense & 50% of the times i did not understand what exactly he
was talink about. (but i do know what are variables, functions &
classes + strings, vectors, new delete from C++)

from all of this, i concluded Stroustrup is the only way to go. i just
need to dwell into it. what do you suggest?

thanks for your time

- arnuld
http://arnuld.blogapot.com

Oct 25 '06 #1
78 4215
* arnuld:
>
from all of this, i concluded Stroustrup is the only way to go. i just
need to dwell into it. what do you suggest?
Go for Stroustrup. That's the book I used (but then I had background
from C, and also, it was the first edition, which was a very slim book
compared to later ones aimed at US market where books are sold by
weight). Just read it /slowly/, like each page is one chapter, and
don't forget, try out things on your computer, e.g. /for each page/!

--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Oct 25 '06 #2

arnuld wrote:
hai all,

i am standing on a "crossroad to C++". I am here in front of you as i
have a problem. i will be brief. Please do not think: "arnuld is sick",
i am really struggling & doing hard-work to become a Modern C++
Programmer & i am feeling as if i am standing on a crossroad. i am
asking because every time i made a decision on my own, in my past, i
always ran into huge wastage of time, money & effort. that is why i am
posting it here:

--Problem-- as you folks know that i want to learn Modern C++ & in my
country "C++ Primer" 4/e & "Accelerate d C++" are not available & being
a jobless person i dont have money to order anything from abroad. i
have these books on my shelf:

1.) "Thinking in C++" 2/e
2.) "C++ Primer" 3/e
3.) "The C++ Programming Language" by Bjarne Stroustrup
4.) An illegal version of "C++ Primer" 4/e as a .chm file on my
Desktop.

i have these 5 options:

1.) read "C++ Primer 4/e" online: cant be done. with online copies
productivity goes down to 20%. reading "physically " really makes the
difference in understanding & learning the language.

2.) i took print-outs of 2-3-4 chapters of C++ Primer 4/e & read them &
found them excellent, though i took a while to understand. it has 800
pages, for me, it means 1000 pages of print outs from my EPSON
dot-matrix in 8 separate folders. it will be very difficult to learn
this way & what if i want to search for some phrase/ideas in C++, i am
"gone" in this case. i speak from experience, i tried this with
"Practical Common Lisp" & trust me, it was huge time wastage with much
less productivity & output (well, that is why Stroustrup created C++
:-)

3.) read "Bruce Eckel": tried that, he makes heavy-use of C. i dont
know C, i dont want to, i want C++.

4.) read "C++ Primer" 3/e: utterly incomprehensibl e to me.

4.) Learn C first -OOA & D book -C++. an excellent way to confuse
myself as i have found that learning "vectors, strings, new-delete"
1st, makes learning "C character arrays & free-malloc" much easier.
(while the opposite is not true, i tried it 2 months ago)

5.) Go directly with Stroustrup: +ve point is i will learn "Pure C++",
-ve point is i dont have any real-life coding experience, hence i found
it *too* dense & 50% of the times i did not understand what exactly he
was talink about. (but i do know what are variables, functions &
classes + strings, vectors, new delete from C++)

from all of this, i concluded Stroustrup is the only way to go. i just
need to dwell into it. what do you suggest?

thanks for your time

- arnuld
http://arnuld.blogapot.com
I definitely think you should learn C as well though. You can't go past
"The C Programming Language", by Brian W. Kernighan and Dennis M.
Ritchie.

Oct 25 '06 #3
On 25 Oct 2006 10:37:59 -0700, "arnuld" <ar*****@gmail. comwrote:
>i am standing on a "crossroad to C++". I am here in front of you as i
have a problem. i will be brief. Please do not think: "arnuld is sick",
i am really struggling & doing hard-work to become a Modern C++
Programmer & i am feeling as if i am standing on a crossroad. i am
asking because every time i made a decision on my own, in my past, i
always ran into huge wastage of time, money & effort. that is why i am
posting it here:
--Problem-- as you folks know that i want to learn Modern C++ & in my
country "C++ Primer" 4/e & "Accelerate d C++" are not available & being
a jobless person i dont have money to order anything from abroad. i
have these books on my shelf:
Why do you want to learn old-fashioned 'Modern C++'? If I were
'standing on a crossroad' I would learn C, a modern scripting language
like Ruby or Python and - depending on the job market - either Java
(language and platform(s)) or C# and .NET.

Best wishes,
Roland Pibinger
Oct 25 '06 #4
Joseph Paterson wrote:
I definitely think you should learn C as well though.
learning new langugae is always a good idea.
You can't go past "The C Programming Language", by Brian W. Kernighan
and Dennis M. Ritchie.
what it has to do with C++?

Oct 25 '06 #5
arnuld wrote:
i am standing on a "crossroad to C++". I am here in front of you as i
have a problem. i will be brief. Please do not think: "arnuld is sick",
i am really struggling & doing hard-work to become a Modern C++
Programmer & i am feeling as if i am standing on a crossroad. i am
asking because every time i made a decision on my own, in my past, i
always ran into huge wastage of time, money & effort. that is why i am
posting it here:
You should say, "posting it here repeatedly." :-)
--Problem-- as you folks know that i want to learn Modern C++ & in my
country "C++ Primer" 4/e & "Accelerate d C++" are not available & being
a jobless person i dont have money to order anything from abroad. i
have these books on my shelf:

1.) "Thinking in C++" 2/e
2.) "C++ Primer" 3/e
3.) "The C++ Programming Language" by Bjarne Stroustrup
4.) An illegal version of "C++ Primer" 4/e as a .chm file on my
Desktop.

i have these 5 options:

1.) read "C++ Primer 4/e" online: cant be done. with online copies
productivity goes down to 20%. reading "physically " really makes the
difference in understanding & learning the language.

2.) i took print-outs of 2-3-4 chapters of C++ Primer 4/e & read them &
found them excellent, though i took a while to understand. it has 800
pages, for me, it means 1000 pages of print outs from my EPSON
dot-matrix in 8 separate folders. it will be very difficult to learn
this way & what if i want to search for some phrase/ideas in C++, i am
"gone" in this case. i speak from experience, i tried this with
"Practical Common Lisp" & trust me, it was huge time wastage with much
less productivity & output (well, that is why Stroustrup created C++
:-)
Add to that the ethical issues involved in stolen books, and you have a
clear-cut case against this one, IMHO.
3.) read "Bruce Eckel": tried that, he makes heavy-use of C. i dont
know C, i dont want to, i want C++.
You have a hard-copy of this? If so, it might be your best bet.
4.) read "C++ Primer" 3/e: utterly incomprehensibl e to me.
Possibly dated, too. I'm not sure.
4.) Learn C first -OOA & D book -C++. an excellent way to confuse
myself
Right. C++ is not C.
as i have found that learning "vectors, strings, new-delete"
1st, makes learning "C character arrays & free-malloc" much easier.
(while the opposite is not true, i tried it 2 months ago)
Right. That's why _Accelerated C++_ does it in that order.
5.) Go directly with Stroustrup: +ve point is i will learn "Pure C++",
-ve point is i dont have any real-life coding experience, hence i found
it *too* dense & 50% of the times i did not understand what exactly he
was talink about. (but i do know what are variables, functions &
classes + strings, vectors, new delete from C++)
I presume you mean the 3rd ed. This is an excellent book, but it is not
for beginners. I would suggest learning the basics somewhere else.
from all of this, i concluded Stroustrup is the only way to go. i just
need to dwell into it. what do you suggest?
You're going to have to climb the learning curve somewhere, and I'd say
_Thinking in C++_ is the best of your options. Do the exercises Eckel
gives, and practice practice practice. Maybe you can join an
open-source project of some sort to get additional experience.
- arnuld
http://arnuld.blogapot.com
Hmm, that doesn't look like a blog to me. Why put it in your sig?

Cheers! --M

Oct 25 '06 #6
Roland Pibinger wrote:
Why do you want to learn old-fashioned 'Modern C++'?
what is the reason behind this "saying"?

If "Modern C++" is old-fashioned, what exactly you will say for C.
If I were
'standing on a crossroad' I would learn C, a modern scripting language
like Ruby or Python and - depending on the job market - either Java
(language and platform(s)) or C# and .NET.
this is exactly what i am talking about, "depending on the job market".
i chose C++ because in India, i have found majority of jobs require
standalone "C++, UNIX user experience, OOA & D knowledge + 1-2 years of
real-life coding". i dont like Jave, i hate Java & i use UNIX not
buggy Windows & their crappy tools like ".NET" & "non-sense a.k.a VB".
sorry & i could not resist.

i used Windows for 4 years. since Dec 2005, i am using Debian Sarge & i
feel i am years ahead in my "technical development".
Best wishes,
thanks ;-)
Roland Pibinger
Oct 25 '06 #7
mlimber wrote:
arnuld wrote:
i am standing on a "crossroad to C++". I am here in front of you as i
have a problem. i will be brief. Please do not think: "arnuld is sick",
i am really struggling & doing hard-work to become a Modern C++
Programmer & i am feeling as if i am standing on a crossroad. i am
asking because every time i made a decision on my own, in my past, i
always ran into huge wastage of time, money & effort. that is why i am
posting it here:

You should say, "posting it here repeatedly." :-)
Ha...Ha.....you naughty boy ;-)
Add to that the ethical issues involved in stolen books, and you have a
clear-cut case against this one, IMHO.
Hmmm.... i think of these issues now.
3.) read "Bruce Eckel": tried that, he makes heavy-use of C. i dont
know C, i dont want to, i want C++.

You have a hard-copy of this? If so, it might be your best bet.
it is a good book but i do not understand most of his programmes
because of "too much of C" is used as basics.
5.) Go directly with Stroustrup: +ve point is i will learn "Pure C++",
-ve point is i dont have any real-life coding experience, hence i found
it *too* dense & 50% of the times i did not understand what exactly he
was talink about. (but i do know what are variables, functions &
classes + strings, vectors, new delete from C++)

I presume you mean the 3rd ed. This is an excellent book, but it is not
for beginners. I would suggest learning the basics somewhere else.
yes, it is 3rd edition. after reading it for whole day i felt
"Stroustrup " created C++ to solve some of the most painful issues of
Sofware Engineering (the ones where C was quite a terrible choice)
You're going to have to climb the learning curve somewhere, and I'd say
_Thinking in C++_ is the best of your options. Do the exercises Eckel
gives, and practice practice practice. Maybe you can join an
open-source project of some sort to get additional experience.
GNU is my destination for contributions.
- arnuld
http://arnuld.blogapot.com

Hmm, that doesn't look like a blog to me. Why put it in your sig?
really very sorry for that "typo". corrected this time. it is my blog &
i want to get comments from some "experience d" individuals regarding my
article "On The Perils of Java Schools".
Cheers! --M
OK, i say Cheers! ;-)

-- arnuld
http://arnuld.blogspot.com

Oct 25 '06 #8
arnuld wrote:
Joseph Paterson wrote:
I definitely think you should learn C as well though.

learning new langugae is always a good idea.
Wrong. There is likely no good reason for you to learn COBOL or PL/I.
Not only is it not "a good idea," but if you won't use it, then it's a
waste of your time and money.

With C, the case is certainly more debatable, but I'd say learn C later
or if/when you actually need it (the FAQ agrees:
http://www.parashift.com/c++-faq-lit...html#faq-28.2).
C is different than C++. For instance, the former requires more
low-level resource management like malloc/free and fopen/fclose, while
the latter automates such tasks with fundamental techniques like RAII.
C requires return codes to indicate errors, while C++ provides
exceptions. Etc. etc. If you want to learn C++, learn C++ not C (or
Java or Smalltalk or whatever).

Cheers! --M

Oct 25 '06 #9
Wrong. There is likely no good reason for you to learn COBOL or PL/I.
Not only is it not "a good idea," but if you won't use it, then it's a
waste of your time and money.
Hmmm...... i think you are *right*. what do 90% of people say in this
world is really way, way wrong. either it needs to be changed or
modified, like you did. i usually do it, in my daily habits like
talking, responding to certain situations or giving an answer to
someone's question, the way you did & nearly 99.99% of the times people
see right & left and remain silent as they do not find any logic of
their questions, after listening to my answer.

today you taught me :-)
With C, the case is certainly more debatable, but I'd say learn C later
or if/when you actually need it (the FAQ agrees:
http://www.parashift.com/c++-faq-lit...html#faq-28.2).
FAQ is good place, i always consult it first & follow it. (it started
just last week as i saw that my 4 months of experience "matches" with
"Learning OO/C++" part of FAQs. i could have saved a lot of time just
by following the advice from FAQ).
C is different than C++. For instance, the former requires more
low-level resource management like malloc/free and fopen/fclose, while
the latter automates such tasks with fundamental techniques like RAII.
C requires return codes to indicate errors, while C++ provides
exceptions. Etc. etc. If you want to learn C++, learn C++ not C (or
Java or Smalltalk or whatever).
i cant explain whether the reason is "low level resource management" or
"something else" but it happened with me in case of "vectors, strings,
new-delete" & "C style character strings, arrays, free malloc, as i
told you in my earlier post.
Cheers! --M
OK... i say Cheers! again ;-)

one more thing, i have my signatures in "gmail" but how can i have my
signatures here in posting answers? i put my name & blog address
everytime manually :-(

Oct 25 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
330
by: kooolega | last post by:
Hi, that's me! I've decided to learn C++, but I'm still thinking about the books about C++. Which one is the best one and so on. I've made a list of books I'm going to read. I'd be glad if you checked it and told me your opinion. So, that's the list: 1. "Thinking in C++. Tom I" by Bruce Eckel 2. "Thinking in C++. Tom II" by Bruce Eckel and Chuck Allison 3. "C++ Unleashed" by Jesse Liberty 4. "C++ Gotchas: Avoiding Common Problems in...
3
2571
by: Sean McCourt | last post by:
Hi I am doing a JavaScript course and learning from the recommed book (JavaScript 3rd Edition by Don Gosslin) Below is one of the exercises from the book. I get this error message when I try to use the calculator. "document.Calculate.Input is null or not an object" Can someone please tell me why this is?
8
1970
by: Mantorok | last post by:
Hi all I'm looking to learn C and/or C++ and I was wondering if there were any good on-line resources and books. I am currently a C# developer but I'm keen to discover C/C++ as I feel it would be a benficial experience. Any suggestions?
4
1821
by: AmateurScripter | last post by:
I'm interested in learning C. What is the best way to learn this language? I know some JavaScript and know HTML very well. I can't afford any programs, but I can get books. What should I do?
26
3670
by: puzzlecracker | last post by:
It'd be interesting to compare the learning practices of c++ practitioners. I'll start with mine The C++ Programming Language C++ Primer Effective C++ More Effective C++ Effective STL The C++ Standard Library : A Tutorial and Reference (most of it) Exceptional C++
14
1655
by: master_programmer | last post by:
Hi I hope that I am posting to the right place. I want to learn programming and am looking at a language too choose. I thought about C++ but my friend told me thats its old fashioned and will be replaced by more modern computer languages like Visual Basic and Cold Fusion. Is it true that not many people use C++ anymore? What is the best language to learn?
3
1460
by: Niv | last post by:
Hi, I will shortly need to learn C or C++ as a high level hardware description language, modelling hardware at a more abstract level than VHDL. (I'm competent at VHDL & semi-competent at Tcl). I've done some minor dabbling in C before, but should I now, assuming I'm starting out afresh, start with C or go straight to C++. Will C give me a good grounding for C++ or add to my (likely) confusion? Regards, Kev P.
0
9512
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10147
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9987
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9023
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7531
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5424
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5552
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4100
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2910
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.