I know C, and i want to learn c++. can someone recommend an on-line
source? - I also already know javascript. will that help?
Thanks.
~M
---- http://www.NovelTracker.com - top ten novels, ranked hourly. 5 1776
On Mar 13, 10:08 am, marywilliams1.. .@yahoo.com wrote:
I know C, and i want to learn c++. can someone recommend an on-line
source? - I also already know javascript. will that help?
See the FAQ: http://www.parashift.com/c++-faq-lit...learn-cpp.html
I'd suggest you get _Accelerated C++_ by Koenig and Moo. It will teach
you the right way from the ground up (and help you unlearn some of the
C practices that may hinder your C++).
Cheers! --M
On Mar 13, 10:08 am, marywilliams1.. .@yahoo.com wrote:
I know C, and i want to learn c++. can someone recommend an on-line
source? - I also already know javascript. will that help?
Read this article first: http://www.research.att.com/~bs/new_learning.pdf
On Mar 13, 8:44 am, "mlimber" <mlim...@gmail. comwrote:
I'd suggest you get _Accelerated C++_ by Koenig and Moo. It will teach
you the right way from the ground up (and help you unlearn some of the
C practices that may hinder your C++).
If there are any C practices that need to be "unlearned" they are
probably bad habits in C, also. My advice to C programmers (of which I
am one) is to focus on what you can do *easily* in C++ that is awkward
in C. If the interest is academic "I want to learn C++" then this is a
great approach.
If the interest is specific: "I need to refactor some code that uses
STL, with a custom allocator and it all looks like gibberish to me,"
then a more targeted approach is useful.
Either way, good C++ is a simplification of good C, and most C
programmers I know who have made the transition give this sigh of
satisfaction when they understand C++: "Ah, I always wanted something
that would persist type across a generic interface." or "Ah, I always
wanted something that would allow rigorous encapsulation AND automatic
allocation." etc. etc.
On Mar 13, 2:06 pm, "Bluejack" <bluuj...@gmail .comwrote:
On Mar 13, 8:44 am, "mlimber" <mlim...@gmail. comwrote:
I'd suggest you get _Accelerated C++_ by Koenig and Moo. It will teach
you the right way from the ground up (and help you unlearn some of the
C practices that may hinder your C++).
If there are any C practices that need to be "unlearned" they are
probably bad habits in C, also.
Not necessarily. Standard string processing in C is done with
pointers, while in C++ it is done with std::string. The latter is
generally much safer. In C, generic types are handled with void
pointers, while in C++ static and dynamic polymorphism are used. In
fact, most of the things that need to be unlearned are related to
pointers and arrays but are the preferred way of doing things in C.
See this FAQ: http://www.parashift.com/c++-faq-lit....html#faq-34.1
Compare also: http://www.parashift.com/c++-faq-lit....html#faq-28.2
We could add to the list declaring objects in as small a scope as
possible and only when they can be initialized (C makes you declare
your variables at the top of scope, perhaps before sensible
initialization is possible), using exceptions rather than return
codes, and relying on RAII for resource management. I'm sure there are
others.
Cheers! --M
On 13 Mar 2007 07:08:06 -0700, ma************* *@yahoo.com wrote:
>I know C, and i want to learn c++. can someone recommend an on-line source?
Bruce Eckel's 'Thinking in C++' is a good introduction to C++ for
programmers who already know C: http://www.mindview.net/Books/TICPP/...ngInCPP2e.html
- I also already know javascript. will that help?
The more you know about programming the better.
Best wishes,
Roland Pibinger This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Daniel Chartier |
last post by:
Hello.
I work in the paper industry and we recently had someone (the original
author) from within the company make a program for preventive maintenance.
However, it had some bugs and we wanted to add stuff to it, bu tthe original
author/programmer was leaving, so we called in a free agent programmer.
The free agent spoke with the original programmer and myself for a day. He
fixed afew bugs. For the other bugs and the many...
|
by: |
last post by:
What do I do? Any ideas?
I went back to school after many years and finished my bachelors degree and
studied programming at a local tech school. I have no great talent to return
to (mainframe operator, telemarketer, painter...) and haven't had a chance
to shine in programming yet (newbie, recession, tech bubble, jobs going
overseas....). I got so frustrated that I launched my own recruiting
business but that didn't fly. I do like...
|
by: Christian McArdle |
last post by:
REQUEST FOR DISCUSSION (RFD)
unmoderated group comp.os.ms-windows.programmer.win64
This is a formal Request For Discussion (RFD) to create
comp.os.ms-windows.programmer.win64 as an unmoderated world-wide Usenet
newsgroup dedicated to the discussion of Microsoft Windows 64 bit
programming. This is not a Call for Votes (CFV); you cannot vote at
this time. Procedural details appear below. All followup discussion
should be crossposted to...
|
by: Christian McArdle |
last post by:
REQUEST FOR DISCUSSION (RFD)
unmoderated group comp.os.ms-windows.programmer.win64
This is a formal Request For Discussion (RFD) to create
comp.os.ms-windows.programmer.win64 as an unmoderated world-wide Usenet
newsgroup dedicated to the discussion of Microsoft Windows 64-bit
programming. This is not a Call for Votes (CFV); you cannot vote at
this time. Procedural details appear below. All followup discussion
should be crossposted to...
|
by: Christian McArdle |
last post by:
REQUEST FOR DISCUSSION (RFD)
unmoderated group comp.os.ms-windows.programmer.64bit
This is a formal Request For Discussion (RFD) to create
comp.os.ms-windows.programmer.64bit as an unmoderated world-wide Usenet
newsgroup dedicated to the discussion of Microsoft Windows 64-bit
programming. This is not a Call for Votes (CFV); you cannot vote at
this time. Procedural details appear below. All followup discussion
should be crossposted to...
| |
by: jeffc |
last post by:
How would you answer a question like this in an interview? I'm not interested
in gathering the average of folks on this forum. I'm interested in a strategy
for
a) evaluating yourself objectively
b) actually answering the question (which might or might not involve the anser
you came up with in a)
|
by: jrefactors |
last post by:
when people say unix programmer, does it mean they write programs in
unix environment,and those programs are run in unix platform? it is not
necessary they are using unix function calls? I heard most of the time
unix programmers are C and C++ programmers.
please advise. thanks!!
|
by: E. Robert Tisdale |
last post by:
What makes a good C/C++ programmer?
Would you be surprised if I told you that
it has almost nothing to do with your knowledge of C or C++?
There isn't much difference in productivity, for example,
between a C/C++ programmers with a few weeks of experience
and a C/C++ programmer with years of experience.
You don't really need to understand the subtle details
or use the obscure features of either language
|
by: Steve Jorgensen |
last post by:
Hi all,
I'm working on a project through a consulting company, and I'm writing some
database code for use in another programmer's project in Excel/VBA. The other
programmer is working through the same consulting company.
I did not initially know this other programmer's experience level, but he
seemed down to earth and friendly. I saw some signs of trouble after having
him try to integrate some of my code, but chalked it up to him...
|
by: BK |
last post by:
Our .Net team has just inherited a junior programmer that we need to
get up to speed as quickly as possible. Unfortunately, his skill set
is largely Access with some VB6 and ASP classic experience. We employ
some parts of XP such as pair programming, and this should help. Other
than books, does anyone have any suggestions? His skill set is pretty
antiquated and we need to get him up to speed as quickly as possible so
any suggestions...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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,...
|
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...
|
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...
|
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...
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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...
| |