467,923 Members | 1,443 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,923 developers. It's quick & easy.

Good Tutorial

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
  • viewed: 1800
Share:
2 Replies
* 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
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.

Similar topics

52 posts views Thread by Tony Marston | last post: by
12 posts views Thread by D. Layman | last post: by
6 posts views Thread by William Foster | last post: by
3 posts views Thread by Roy Smith | last post: by
8 posts views Thread by At_sea_with_C | last post: by
4 posts views Thread by Jim Aikin | last post: by
75 posts views Thread by Amkcoder | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.