473,386 Members | 1,819 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

"Correct C++ Tutorial" ch. 2.1 in PDF

Thanks to a new version of OpenOffice that produces acceptable (although
not yet perfect) PDF, and numerous requests for PDF format, I've now
made chapter 2.1 available in PDF format -- e.g., use Acrobat Reader:

<url: http://home.no.net/dubjai/win32cpptut/html/w32cpptut_02.html>

I've also changed the numbering format for this chapter.

Hopefully this is better?

--
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?
Jul 23 '05 #1
5 2925

"Alf P. Steinbach" <al***@start.no> wrote in message
news:42***************@news.individual.net...
Thanks to a new version of OpenOffice that produces acceptable (although
not yet perfect) PDF, and numerous requests for PDF format, I've now
made chapter 2.1 available in PDF format -- e.g., use Acrobat Reader:

<url: http://home.no.net/dubjai/win32cpptut/html/w32cpptut_02.html>

I've also changed the numbering format for this chapter.

Hopefully this is better?


That's a lot of text :-), I have skimmed through the text and it overall
looks good. Some comments though --

POD stands for Plain Old Data, and not Plain Old Data[Type]

I think the text can get better at places if use proper punctuation at
places. I am not a native English speaker but here are some examples --
"In other words, for each abstraction (logical type) we needed we chose a
more-or-" (Place comma after needed)
"Although it can also serve as a hint modern compilers are most ..." (Place
comma after hint )

2.1.5 -- The title of the section is not clear. Later (2.1.10) I realize
that you mean them as guidelines while writing classes.

Matter of style, I include the user defined headers after the standard
headers.

Initializer lists -- You may want to talk a little about const and
reference members while discussing advantages of initializer lists.

Sharad
Jul 23 '05 #2
* Sharad Kala:

"Alf P. Steinbach" <al***@start.no> wrote in message
news:42***************@news.individual.net...
Thanks to a new version of OpenOffice that produces acceptable (although
not yet perfect) PDF, and numerous requests for PDF format, I've now
made chapter 2.1 available in PDF format -- e.g., use Acrobat Reader:

<url: http://home.no.net/dubjai/win32cpptut/html/w32cpptut_02.html>

I've also changed the numbering format for this chapter.

Hopefully this is better?
That's a lot of text :-), I have skimmed through the text and it overall
looks good. Some comments though --

POD stands for Plain Old Data, and not Plain Old Data[Type]


Thanks.

I think the text can get better at places if use proper punctuation at
places. I am not a native English speaker but here are some examples --
"In other words, for each abstraction (logical type) we needed we chose a
more-or-" (Place comma after needed)
"Although it can also serve as a hint modern compilers are most ..." (Place
comma after hint )
I'm very deliberately removing commas; placing commas everywhere is
a bad habit that I'm still trying to unlearn. The reader can always
mentally insert commas. It's much more difficult to remove them.

2.1.5 -- The title of the section is not clear. Later (2.1.10) I realize
that you mean them as guidelines while writing classes.
Those two sections are "Adjust a class for ease of use" I and II. More
concrete titles would IMO be misleading. What would you suggest?

Matter of style, I include the user defined headers after the standard
headers.
Why?

That way there's less chance of detecting missing #include's.

Perhaps I should have discussed this issue, in some earlier chapter.

Initializer lists -- You may want to talk a little about const and
reference members while discussing advantages of initializer lists.


Not discussed because it requires a full discussion of special members
routines (including a full discussion of constructors), ++.

--
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?
Jul 23 '05 #3
Edd
Hi Alf,

Alf P. Steinbach wrote:
Thanks to a new version of OpenOffice that produces acceptable (although
not yet perfect) PDF, and numerous requests for PDF format, I've now
made chapter 2.1 available in PDF format -- e.g., use Acrobat Reader:

<url: http://home.no.net/dubjai/win32cpptut/html/w32cpptut_02.html>

I've also changed the numbering format for this chapter.

Hopefully this is better?


I haven't read through the document thoroughly yet, but on the face of
things it looks good. As I'm a relative beginner, one thing I'd love to
see is EXERCISES! That's the single most important thing when learning,
IMHO; good questions that lead to insight and experimentation within the
bounds provided by the context of the preceding chapter. I'm currently
reading through Herb Sutter's Exceptional C++ and it's becoming quite
apparent how much you can learn from 'thought-experiments' alone, let
alone practicing the actual writing of code.

<OT>
Take a look at http://www.cutepdf.com/Products/CutePDF/writer.asp for an
alternative to OO.org PDF export.
</OT>

Edd

--
Edd Dawson www.nunswithguns.net | "It's sad when someone you know
To email me, cut the crap. | becomes someone you knew."
ed*@nunswithcrapguns.net | - Henry Rollins
Jul 23 '05 #4
Edd
Edd wrote:
Hi Alf,

Alf P. Steinbach wrote:
Thanks to a new version of OpenOffice that produces acceptable (although
not yet perfect) PDF, and numerous requests for PDF format, I've now
made chapter 2.1 available in PDF format -- e.g., use Acrobat Reader:

<url: http://home.no.net/dubjai/win32cpptut/html/w32cpptut_02.html>

I've also changed the numbering format for this chapter.

Hopefully this is better?

I haven't read through the document thoroughly yet, but on the face of
things it looks good. As I'm a relative beginner, one thing I'd love to
see is EXERCISES! That's the single most important thing when learning,
IMHO; good questions that lead to insight and experimentation within the
bounds provided by the context of the preceding chapter. I'm currently
reading through Herb Sutter's Exceptional C++ and it's becoming quite
apparent how much you can learn from 'thought-experiments' alone, let
alone practicing the actual writing of code.


FFS! Don't I feel stupid?! Sorry. I flicked to the end to see if there
was a list of exercises and it wasn't immediately obvious that there
was. Also, I did search for "exercises" and "questions" and neither came
up with anything! Enough excuses, completely my bad - apologies!

<OT>
Take a look at http://www.cutepdf.com/Products/CutePDF/writer.asp for an
alternative to OO.org PDF export.
</OT>


This still stands - haha!
I'm going to stick my head back in the sand, where it belongs.

Edd

--
Edd Dawson www.nunswithguns.net | "It's sad when someone you know
To email me, cut the crap. | becomes someone you knew."
ed*@nunswithcrapguns.net | - Henry Rollins
Jul 23 '05 #5

Alf P. Steinbach wrote:
Matter of style, I include the user defined headers after the standard headers.


Why?

That way there's less chance of detecting missing #include's.


Not to mention it also restricts the number of "#define CONST const"
bugs...
..t

Jul 23 '05 #6

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

Similar topics

21
by: Alf P. Steinbach | last post by:
Just because there seems to be a lack of post-standard _correct_ tutorials: <url: http://home.no.net/dubjai/win32cpptut/>. Disclaimer: written this evening so perhaps there are "bugs" in the...
28
by: Alf P. Steinbach | last post by:
A few days ago I posted an "Hello, world!" tutorial, discussed in <url: http://groups.google.no/groups?threadm=41ba4c0a.76869078@news.individual.net>. As I wrote then: <quote> because there...
7
by: Alf P. Steinbach | last post by:
I have to shop Christmas gifts (and clean up... ;-)) before leaving on Christmas holiday tomorrow, where I'll effectively be without a network connection until January 6th, so I just posted what I...
53
by: Alf P. Steinbach | last post by:
So, I got the itch to write something more... I apologize for not doing more on the attempted "Correct C++ Tutorial" earlier, but there were reasons. This is an UNFINISHED and RAW document,...
4
by: metaperl | last post by:
I work at a place which is currently running SQL 2000, but they are planning to migrate to 2k5. I was thinking that this is the perfect opportunity to fix all the weaknesses we have had in our data...
0
by: devito | last post by:
hi there, for some days i try to build the boost.python tutorial "hello world" without bjam on winxp by using mingw. so i wrote a *.bat-file like the following: // --- snip...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
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,...
0
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...
0
Oralloy
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.