avva: (Default)
[personal profile] avva
Комментарий в дискуссии на Hacker News предложил следующий отрывок в качестве 30-секундного введения в указатели в C. Мне понравилась эта идея, только я бы немного подправил заголовок и назвал это 30-секундным введением в указатели и ссылки в C++:

`It's long,' said the Knight, `but very, very beautiful. Everybody that hears me sing it -- either it brings the tears into their eyes, or else -- '
`Or else what?' said Alice, for the Knight had made a sudden pause.
`Or else it doesn't, you know. The name of the song is called "Haddocks' Eyes."'
`Oh, that's the name of the song, is it?' Alice said, trying to feel interested.
`No, you don't understand,' the Knight said, looking a little vexed. `That's what the name is called. The name really is "The Aged Aged Man."'
`Then I ought to have said "That's what the song is called"?' Alice corrected herself.
`No, you oughtn't: that's quite another thing! The song is called "Ways and Means": but that's only what it's called, you know!'
`Well, what is the song, then?' said Alice, who was by this time completely bewildered.
`I was coming to that,' the Knight said. `The song really is "A-sitting On A Gate": and the tune's my own invention.'

Date: 2012-08-16 11:35 am (UTC)
From: [identity profile] squadette.livejournal.com
It would be really useful to call a song using pointer.

Let's just standardize the calling conventions for songs.

December 2025

S M T W T F S
  123 4 56
78 9 10 11 1213
1415 1617181920
21 22 23 24 2526 27
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Dec. 28th, 2025 10:23 pm
Powered by Dreamwidth Studios