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 have so
far -- which perhaps you'll find interesting!
This is the third but unfinished part of what hopefully will become a
technically _correct_ C++ newbie tutorial.
<url: http://home.no.net/dubjai/win32cpptut/w32cpptut_01_03 .doc>.
Comments & criticism welcome (post here, please, don't mail).
I'll look at those comments in January -- or perhaps this evening.
--
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? 7 1539
Alf P. Steinbach wrote: 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 have so far -- which perhaps you'll find interesting!
This is the third but unfinished part of what hopefully will become a technically _correct_ C++ newbie tutorial.
<url: http://home.no.net/dubjai/win32cpptut/w32cpptut_01_03 .doc>.
Comments & criticism welcome (post here, please, don't mail).
I'll look at those comments in January -- or perhaps this evening.
That is a nice effort and my main comment is why call it win32 in the
first place.
Apart from this, I think that a tutorial aimed for complete beginners
should be as simple as possible, while I think your approach is very
complex for a beginner.
I think you should not try to explain everything for a specific feature
altogether, but introduce simple things for each feature at first, and
then at a second "pass" introduce the more advanced concepts.
In any case, making the tutorial Win32 specific means it is not ISO C++
specific.
--
Ioannis Vranos http://www23.brinkster.com/noicys
"Alf P. Steinbach" <al***@start.no > wrote in message 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 have so far -- which perhaps you'll find interesting!
This is the third but unfinished part of what hopefully will become a technically _correct_ C++ newbie tutorial.
<url: http://home.no.net/dubjai/win32cpptut/w32cpptut_01_03 .doc>.
Comments & criticism welcome (post here, please, don't mail).
I skimmed through the tutorial and overall it looks good to me.
Some points though
- You mention Ken Thompson to be creator of C. That's Dennis Ritchie
actually.
- I haven't read the first lesson of your series but have you introduced the
term UB and what it means ? Also it may be a good idea to tell as to what
causes the loop to reach UB (probably in a footnote).
- Do you intend to introduce while/do-while too ? May be just in a couple of
paragraphs.
- I wish the tutorial wasn't targeted only for a Windows user. Else you
could add a few lines for Unix users too wherever you mention Windows stuff.
Sharad
* Ioannis Vranos: Alf P. Steinbach wrote:
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 have so far -- which perhaps you'll find interesting!
This is the third but unfinished part of what hopefully will become a technically _correct_ C++ newbie tutorial.
<url: http://home.no.net/dubjai/win32cpptut/w32cpptut_01_03 .doc>.
Comments & criticism welcome (post here, please, don't mail).
I'll look at those comments in January -- or perhaps this evening.
That is a nice effort
Thanks.
and my main comment is why call it win32 in the first place.
Because the things a tutorial addresses such as tool usage, example
selection and so on are all system-specific.
Apart from this, I think that a tutorial aimed for complete beginners should be as simple as possible, while I think your approach is very complex for a beginner.
Perhaps it could be presented in some other way. However the issues
addressed are, I believe, those that a beginner has to struggle with.
I think you should not try to explain everything for a specific feature altogether, but introduce simple things for each feature at first, and then at a second "pass" introduce the more advanced concepts.
That's the idea, yes.
In any case, making the tutorial Win32 specific means it is not ISO C++ specific.
?
I'll check any explanation of that in January... ;-)
Have a Merry Christmas!
--
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?
* Sharad Kala: "Alf P. Steinbach" <al***@start.no > wrote in message
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 have so far -- which perhaps you'll find interesting!
This is the third but unfinished part of what hopefully will become a technically _correct_ C++ newbie tutorial.
<url: http://home.no.net/dubjai/win32cpptut/w32cpptut_01_03 .doc>.
Comments & criticism welcome (post here, please, don't mail). I skimmed through the tutorial and overall it looks good to me. Some points though - You mention Ken Thompson to be creator of C. That's Dennis Ritchie actually.
Thank you.
I always confuse timelines. In _this_ timeline Dennis Ritchie was the
one, yes, building on the B language that Ken made. Grumble...
- I haven't read the first lesson of your series but have you introduced the term UB and what it means ?
Yes.
Also it may be a good idea to tell as to what causes the loop to reach UB (probably in a footnote).
I think it would be too much, especially in an HTML version.
- Do you intend to introduce while/do-while too ? May be just in a couple of paragraphs.
Yes -- hopefully I'll get to that.
- I wish the tutorial wasn't targeted only for a Windows user. Else you could add a few lines for Unix users too wherever you mention Windows stuff.
Most of the tool usage stuff is very Windows-specific, but so far the
C++ code has been pure Standard.
I don't know how well that will hold up.
Cross-platform solutions exist for most things but those solutions that
are cross-platform are also typically very large and complex, and one
main point of using C++ is to do platform-specific things, which I feel
should be illustrated.
Have a Merry Christmas!
--
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?
Alf P. Steinbach wrote: and my main comment is why call it win32 in the first place.
Because the things a tutorial addresses such as tool usage, example selection and so on are all system-specific.
It should not cover tool usage. Tool usage instructions are up to the
implementer manual and discussion forums. You could suggest some
particular tool, e.g. Dev-C++ for Windows, but nothing beyond it. In any case, making the tutorial Win32 specific means it is not ISO C++ specific.
?
I'll check any explanation of that in January... ;-)
In other words, a Linux user will probably avoid this tutorial due to
its name (and may be also due to involving Windows with C++ all the time
in its chapters).
Have a Merry Christmas!
Merry Christmas and a Happy New Year to you too!
--
Ioannis Vranos http://www23.brinkster.com/noicys
Alf P. Steinbach wrote: Thank you.
I always confuse timelines. In _this_ timeline Dennis Ritchie was the one, yes, building on the B language that Ken made. Grumble...
The history of C++ is as follows:
BCPL by Martin Richards (in 1960s)
B by Ken Thompson. As Dennis Ritchie notes:
"it is BCPL squeezed into 8K bytes of memory and filtered through
Thompson's brain."
C by Dennis Ritchie, which later became ISO/IEC 9899:1990 standard.
C++ by Bjarne Stroustrup, which later became ISO/IEC 14882:1998 standard.
C++ which with few exceptions (meaning differences), retains C90 as a
subset.
A nice document of history up to C is this by Dennis Ritchie: http://cm.bell-labs.com/cm/cs/who/dmr/chist.pdf
--
Ioannis Vranos http://www23.brinkster.com/noicys
Ioannis Vranos wrote: B by Ken Thompson. As Dennis Ritchie notes:
"it is BCPL squeezed into 8K bytes of memory and filtered through Thompson's brain."
Thompson is also the creator of Unix.
--
Ioannis Vranos http://www23.brinkster.com/noicys This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Rahmi Acar |
last post by:
Can any one redirect me to the place where i can find the stuff i need? Im
by the way adding net time protocol so it will syncronise by it's own
intergated watch. This is a start stopp application and it have to round of
to e.x 16:00 or 16:30 NOT 16:15 or 16:23 cuz those i dont need.
I also want to add a salary system counting hours and adds the salary for
the hours e.x 16:00 to 20:30 is 4,5 working hours and say the salary is 60$
then it...
|
by: Brian Angliss |
last post by:
I'm relatively new to scripting in JavaScript, so I'm not too
surprised I'm having difficulty scripting up an animation effect for
my personal site.
What I'm trying to do is the following: When I go onMouseOver on a
button in a nav bar, I want that button to switch to a different image
while at the same time another blank image changes as an animation to
an associated image. When I go onMouseOut, the bar image reverts back
to the...
|
by: Fao |
last post by:
Hi, I am in my first year of C++ in college and my professor wants me
to Write a Program with multiple functions,to input two sets of
user-defined data types:
One type named 'Sign' declared by "typedef" to contain only
either +10 or -10 and
the other type named Color declared by "enum" to contain only
black, blue, purple, red, white, and yellow.
|
by: Mathias Lange, AMB-Informatik |
last post by:
I'm trying to invoke the IBM Sample UDF "Counter" in an z/OS DB/2 V7
WLM Driven Environment.
Query:
SELECT A,B,COUNTER() FROM TABLE;
Result -471
WLM Adress Space started corretly. Message DSNX962I appeared in the
System Log.
|
by: Nitin Bhardwaj |
last post by:
Well, i'm a relatively new into C( strictly speaking : well i'm a
student and have been doing & studying C programming for the last 4
years).....and also a regular reader of "comp.lang.c"
I don't have a copy of ANSI C89 standard,therefore i had to post this
question:
What is the difference between "unspecified" behaviour & "undefined"
behaviour of some C Code ??
| |
by: Fao |
last post by:
Hello, I am having some problems with inheritance. The compiler does
not not return any error messages, but when I execute the program, it
only allows me to enter the number, but nothing else happend. I think
the problem may be in my input function or in the main function.
If anyone out there can help me it woul be greatly appreciated.
Here is the code:
#include <iostream>
|
by: Arne |
last post by:
A lot of Firefox users I know, says they have problems with validation
where the ampersand sign has to be written as & to be valid. I don't
have Firefox my self and don't wont to install it only because of this,
so I hope some of you gurus can enlighten me with this :)
In what circumstances can the "&" in the source code be involuntary
changed to "&" by a browser when or other software, when editing and
uploading the file to the web...
|
by: Markus |
last post by:
I was just playing around with javascript today and i wanted to change the style of a table element with javascript.
The code i am using:
ChangeIt(id){
var target = document.getElementById(id)
var newColor = "#00ff33"
target.style.color = newColor
}
|
by: Joe Strout |
last post by:
Hi Luis,
A static variable IS encapsulation. Encapsulation happens at many
levels: module, class, instance, and (in languages that support it)
method. A static local variable is simply the finest level of
encapsulation. (Well, actually you could go one finer in some
languages and have block-level static scope.)
|
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: 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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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...
| |