By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,874 Members | 1,027 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,874 IT Pros & Developers. It's quick & easy.

Good Tutorial

P: n/a
Hi All,

I learned C++ long time ago and now I want to review all of its
details in a short time like a week. I wonder if there is a good
tutorial you know which I can read for this purpose. Thanks a lot.

Feb 3 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
* sara:
>
I learned C++ long time ago and now I want to review all of its
details in a short time like a week. I wonder if there is a good
tutorial you know which I can read for this purpose. Thanks a lot.
The tutorial at <url: http://www.cplusplus.comis probably not bad.
There used to be a bad tutorial at that site. The current one, although
I've just skimmed it, looks like it's a good, concise overview of C++
features -- but very short on how to use and not use those features.

In contrast, my own never-finished tutorial (unfortunately the only one
linked to by the FAQ) is short on discussion of features but long on how
to use and not to use the features discussed.

Anyway, keep in mind that e.g. [comp.lang.c++.moderated] is a very old
newsgroup but still going very strong with new topics all the time. So
you may manage to get an impression of C++ features in a week. But
you'll never master the complete language: it's still evolving just
about as fast as anyone can keep up, and new problems with it and new
ways of using it are discovered every week -- so, good luck! <g>

--
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?
Feb 3 '07 #2

P: n/a
The tutorial at <url:http://www.cplusplus.comis probably not bad.
There used to be a bad tutorial at that site. The current one, although
I've just skimmed it, looks like it's a good,
i had a look at that tutorial, at this page: http://www.cplusplus.com/
doc/tutorial/arrays.html
the author has this programme for creating an Array:

#define WIDTH 5
#define HEIGHT 3

int jimmy [HEIGHT][WIDTH];
int n,m;

int main ()
{
for (n=0;n<HEIGHT;n++)
for (m=0;m<WIDTH;m++)
{
jimmy[n][m]=(n+1)*(m+1);
}
return 0;
}

look at those 1st 2 lines, the macros, macros in C++ :-( i think it
shows that author is not using "real C++", he is using C in C++. this
is from Stroustrup (section 7.8):

"the first rule about macros is - Dont' use them unless you have
to ."

Stroustrup does not agree on using macros, unless one has to, he
prefers and advises the use of "const" instead.

In contrast, my own never-finished tutorial (unfortunately the only one
linked to by the FAQ) is short on discussion of features but long on how
to use and not to use the features discussed.
i really think you need to complete your C++ tutorial. that will be
much helpful to lots of people out here & there :-)
Anyway, keep in mind that e.g. [comp.lang.c++.moderated] is a very old
newsgroup but still going very strong with new topics all the time. So
you may manage to get an impression of C++ features in a week.
Hey Alf, good advice & you are right here :-)
But
you'll never master the complete language: it's still evolving just
about as fast as anyone can keep up, and new problems with it and new
ways of using it are discovered every week -- so, good luck! <g>
WOW
-- arnuld
http://arnuld.blogspot.com

Feb 4 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.