Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Resurrected thread] Alf P. Steinbach's pointer tutorial

2 views
Skip to first unread message

Alf P. Steinbach

unread,
Apr 1, 2009, 9:48:48 AM4/1/09
to
* Bob R, on Aug 16 2007:
> arnuld <geek.arn...@gmail.com> wrote in message...
>> there is a tutorial written by Alf P. Steinbach titled something like
>> "Pointers in C++". i even Googled for that but was not able to find it.
>> can anyone tell me where i can find it. IIRC, it was in pdf format and on
>> 1st page there was a small dog pointing his finger to somewhere (to show
>> the conecept of pointers)
>
> This is the last place I knew it to be:
>
> Alf P. Steinbach's "Pointers" document:
> http://home.no.net/dubjai/win32cpptut/special/pointers/ch_01.pdf
>
> [ Alf, please let us know if it's been moved.]

The location above is on free hosting that will be terminated 1. May 2009.

The same document is now available at

<url: http://alfps.izfree.com/tutorials/pointers/>

By the way, I haven't found any Google search that will turn up that page. The
closest I get is pages that refer to the old location, mostly this old thread
archived everywhere, but also some similar threads, plus a ref from Wikipedia.
This is surprising to me since Mr. GoogleBot is a frequent visitor.


Cheers,

- Alf


PS: Dang, I clicked on the wrong group and posted this to
[comp.lang.c++.moderated], making me guilty of the sin of multi-posting. But OK,
it doesn't matter. At least *this* is now in the right group! :-)

--
Due to hosting requirements I need visits to <url: http://alfps.izfree.com/>.
No ads, and there is some C++ stuff! :-) Just going there is good. Linking
to it is even better! Thanks in advance!

Victor Bazarov

unread,
Apr 1, 2009, 10:26:21 AM4/1/09
to
Alf P. Steinbach wrote:
> [..]

> By the way, I haven't found any Google search that will turn up that
> page. The
> closest I get is pages that refer to the old location, mostly this old
> thread
> archived everywhere, but also some similar threads, plus a ref from
> Wikipedia.
> This is surprising to me since Mr. GoogleBot is a frequent visitor.

Have you paid him? Or do you expect your stuff would interest him? :-)

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask

Alf P. Steinbach

unread,
Apr 1, 2009, 10:35:44 AM4/1/09
to
* Victor Bazarov:

> Alf P. Steinbach wrote:
>> [..]
>> By the way, I haven't found any Google search that will turn up that
>> page. The
>> closest I get is pages that refer to the old location, mostly this old
>> thread
>> archived everywhere, but also some similar threads, plus a ref from
>> Wikipedia.
>> This is surprising to me since Mr. GoogleBot is a frequent visitor.
>
> Have you paid him?

No. Does anybody?


> Or do you expect your stuff would interest him? :-)

Yup. :-)


Cheers,

- Alf

Sherm Pendley

unread,
Apr 1, 2009, 10:47:17 AM4/1/09
to
"Alf P. Steinbach" <al...@start.no> writes:

> The same document is now available at
>
> <url: http://alfps.izfree.com/tutorials/pointers/>
>
> By the way, I haven't found any Google search that will turn up that page. The
> closest I get is pages that refer to the old location, mostly this old thread
> archived everywhere, but also some similar threads, plus a ref from Wikipedia.
> This is surprising to me since Mr. GoogleBot is a frequent visitor.

Have you configured the old URL to return a "301 Moved Permanently" status
that redirects to the new one?

sherm--

--
My blog: http://shermspace.blogspot.com
Cocoa programming in Perl: http://camelbones.sourceforge.net

Alf P. Steinbach

unread,
Apr 1, 2009, 10:53:20 AM4/1/09
to
* Sherm Pendley:

> "Alf P. Steinbach" <al...@start.no> writes:
>
>> The same document is now available at
>>
>> <url: http://alfps.izfree.com/tutorials/pointers/>
>>
>> By the way, I haven't found any Google search that will turn up that page. The
>> closest I get is pages that refer to the old location, mostly this old thread
>> archived everywhere, but also some similar threads, plus a ref from Wikipedia.
>> This is surprising to me since Mr. GoogleBot is a frequent visitor.
>
> Have you configured the old URL to return a "301 Moved Permanently" status
> that redirects to the new one?

It will be (I hope), but that depends on start.no, the host.


Cheers,

- Alf

Victor Bazarov

unread,
Apr 1, 2009, 10:56:51 AM4/1/09
to
Alf P. Steinbach wrote:
> * Victor Bazarov:
>> Alf P. Steinbach wrote:
>>> [..]
>>> By the way, I haven't found any Google search that will turn up that
>>> page. The
>>> closest I get is pages that refer to the old location, mostly this
>>> old thread
>>> archived everywhere, but also some similar threads, plus a ref from
>>> Wikipedia.
>>> This is surprising to me since Mr. GoogleBot is a frequent visitor.
>>
>> Have you paid him?
>
> No. Does anybody?

I think some do. I don't, since I don't have anything that I need to be
searchable, so I don't care if the stuff I published is found. One
always pays in some form or another, right? :-)

Sherm Pendley

unread,
Apr 1, 2009, 11:22:39 AM4/1/09
to
"Alf P. Steinbach" <al...@start.no> writes:

> * Sherm Pendley:


>>
>> Have you configured the old URL to return a "301 Moved Permanently" status
>> that redirects to the new one?
>
> It will be (I hope), but that depends on start.no, the host.

Why? Have they disabled .htaccess? If not, all you need to do is create a
file named .htaccess, with an Apache redirect directive in it:

RedirectPermanent ch_01.pdf http://alfps.izfree.com/tutorials/pointers/ch_01.pdf

Store that in the old directory where ch_01.pdf lives, and you're golden.
But, you need to do it *now*, while the old site is still alive and able to
send the redirect response.

If this is paid hosting, I wouldn't rely on the provider to manage this
for me. Redirects for specific URLs falls well into the territory of "user
content," - they're about as likely to do this for you as to check your
links, validate your HTML, and the like.

Alf P. Steinbach

unread,
Apr 1, 2009, 1:03:15 PM4/1/09
to
* Sherm Pendley:

> "Alf P. Steinbach" <al...@start.no> writes:
>
>> * Sherm Pendley:
>>> Have you configured the old URL to return a "301 Moved Permanently" status
>>> that redirects to the new one?
>> It will be (I hope), but that depends on start.no, the host.
>
> Why? Have they disabled .htaccess? If not, all you need to do is create a
> file named .htaccess, with an Apache redirect directive in it:
>
> RedirectPermanent ch_01.pdf http://alfps.izfree.com/tutorials/pointers/ch_01.pdf
>
> Store that in the old directory where ch_01.pdf lives, and you're golden.
> But, you need to do it *now*, while the old site is still alive and able to
> send the redirect response.

Thank you very much. It's been years since I did anything with .htaccess, and I
didn't think of that. But, done. :)

I also renamed the file there to [ch_01.pdfx], to be sure I didn't still get
that file.

And it *seems* to work, I can download [ch_01.pdf] from the old location in
spite of having changed the file name, I did that three times. But the log at
izfree (new location) doesn't show any access. So I have some fear that I'm
getting the file from some cache or something, or else that the log at izfree is
very very spotty -- my old theory for that kind of stuff was el-cheapo server
harddisk with holes on the periphery, where the centrifugal force causes data to
migrate outwards and down into the the holes, dunno, is that realistic?

Time will show what's going on & whether it really works, I guess.


> If this is paid hosting,

No, it's totally free.

It was once superb service, PHP, and even remote shell access, and no ads, since
early/middle 1990's. And only for Norwegians. :) But then they started messing
up pages with banner ads (espwcially those doing XHTML and pages for mobile
phones were hard hit, nothing validated anymore, and much stopped working), and
now, as of 1st of May they're discontinuing the service completely.

Goodbye, start.no, RIP.


Cheers, & thanks again,

Sherm Pendley

unread,
Apr 1, 2009, 1:18:26 PM4/1/09
to
"Alf P. Steinbach" <al...@start.no> writes:

> I also renamed the file there to [ch_01.pdfx], to be sure I didn't
> still get that file.
>
> And it *seems* to work, I can download [ch_01.pdf] from the old
> location in spite of having changed the file name, I did that three
> times. But the log at izfree (new location) doesn't show any
> access. So I have some fear that I'm getting the file from some cache
> or something

I think that may be the case. After clearing my browser cache, the old
location now gives me a "404 Not Found" error.

Start.no may disable .htaccess processing. It would be a pity if they did,
but understandable - there are limits to what one can provide for free.

gw7...@aol.com

unread,
Apr 2, 2009, 4:28:45 PM4/2/09
to
On 1 Apr, 14:48, "Alf P. Steinbach" <al...@start.no> wrote:
> The same document is now available at

>    <url:http://alfps.izfree.com/tutorials/pointers/>

It doesn't seem to be working for me (either at work or at home). It
gives the following message:

The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and
then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

Parameter entity must be defined before it is used. Error processing
resource 'http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd...


Is there more to it than simply clicking on the link you have provided?

Michael Mol

unread,
Apr 2, 2009, 5:10:53 PM4/2/09
to

Alf P. Steinbach

unread,
Apr 2, 2009, 11:00:13 PM4/2/09
to
* gw7...@aol.com:

Thank you for this feedback.

It seems that your browser has problems with W3C's XTHML 1.1 DTD, or vice versa,
that that DTD is not quite correct but works with nearly all browsers, but not
with yours. One reason for that could be that browsers generally do not actually
check "standard" DTDs. If your browser does not know about the XHTML 1.1 DTD,
and furthermore does not recognize that a reference to a DTD residing at
www.w3.org is a (internet meaning) standard one, then it could be trying to
actually access the DTD, and thus expose some bug in that DTD.

Which browser/version are you using?


Cheers,

- Alf (should perhaps not use "avant garde" XHTML 1.1, but the nice thing about
it is that its current draft supports "target=", which XHTML 1.0 doesn't!)

steephen

unread,
Apr 3, 2009, 10:18:03 AM4/3/09
to
On Apr 3, 8:00 am, "Alf P. Steinbach" <al...@start.no> wrote:
> * gw7...@aol.com:
>
>
>
>
>
> > On 1 Apr, 14:48, "Alf P. Steinbach" <al...@start.no> wrote:
> >> The same document is now available at
>
> >>    <url:http://alfps.izfree.com/tutorials/pointers/>
>
> > It doesn't seem to be working for me (either at work or at home). It
> > gives the following message:
>
> > The XML page cannot be displayed
> > Cannot view XML input using style sheet. Please correct the error and
> > then click the Refresh button, or try again later.
>
> > ---------------------------------------------------------------------------­-----

>
> > Parameter entity must be defined before it is used. Error processing
> > resource 'http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd...
>
> > Is there more to it than simply clicking on the link you have provided?
>
> Thank you for this feedback.
>
> It seems that your browser has problems with W3C's XTHML 1.1 DTD, or vice versa,
> that that DTD is not quite correct but works with nearly all browsers, but not
> with yours. One reason for that could be that browsers generally do not actually
> check "standard" DTDs. If your browser does not know about the XHTML 1.1 DTD,
> and furthermore does not recognize that a reference to a DTD residing atwww.w3.orgis a (internet meaning) standard one, then it could be trying to

> actually access the DTD, and thus expose some bug in that DTD.
>
> Which browser/version are you using?
>
> Cheers,
>
> - Alf (should perhaps not use "avant garde" XHTML 1.1, but the nice thing about
> it is that its current draft supports "target=", which XHTML 1.0 doesn't!)
>
> --
> Due to hosting requirements I need visits to <url:http://alfps.izfree.com/>.
> No ads, and there is some C++ stuff! :-) Just going there is good. Linking
> to it is even better! Thanks in advance!- Hide quoted text -
>
> - Show quoted text -

I also got error


Parameter entity must be defined before it is used. Error processing
resource 'http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd...

I am using IE 6.

gw7...@aol.com

unread,
Apr 3, 2009, 4:26:17 PM4/3/09
to
On 3 Apr, 04:00, "Alf P. Steinbach" <al...@start.no> wrote:
> * gw7...@aol.com:
> > On 1 Apr, 14:48, "Alf P. Steinbach" <al...@start.no> wrote:
> >> The same document is now available at
>
> >>    <url:http://alfps.izfree.com/tutorials/pointers/>
>
> > It doesn't seem to be working for me (either at work or at home).
> Which browser/version are you using?

IE6 at both, it seems. I didn't note the exact number at work, but
here at home the version is 6.0.2900.2180.xpsp_sp2_gdr.080814-1233SI.

Hope that helps.
Paul.

Alf P. Steinbach

unread,
Apr 4, 2009, 9:56:13 AM4/4/09
to
* gw7...@aol.com:

Thanks. I now serve a specially adapted page for IE 6 (and earlier versions of
that special case browser), with an admonition to upgrade the browser, and links
to 4 better browsers... :-) Better browser include Lynx, for those with very old
computers: at least Lynx lets you look at pages, and it's fast.

The IE 6 page version is not perfect.

It's actually very bad, according to a web service that generated a screenshot
as viewed from IE 6, because it's just the XHTML 1.1 served as HTML 4.01.

But I don't have IE 6.

So, that's it.


Cheers, & hth.,

- Alf (C++, not HTML!)

gw7...@aol.com

unread,
Apr 4, 2009, 2:47:48 PM4/4/09
to
On 4 Apr, 14:56, "Alf P. Steinbach" <al...@start.no> wrote:
> >>>> The same document is now available at
> >>>>    <url:http://alfps.izfree.com/tutorials/pointers/>
> Thanks. I now serve a specially adapted page for IE 6

Thanks. It seems to be working for me now.

0 new messages