Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free.

I'm currently working on a speech introducing an introduction to C++ programming manual. The speech itself is going to be about the topics within the manual (which are very basic concepts, such as data types, ect..) I'll be giving this speech to students who are not familiar to C++ or even programming in general, and I'm looking for an attention grabber to begin my speech with such as a fun fact or quote about C++, or an interesting statistic regarding C++. I am wanting something the students will understand, and that sparks their interest. Does anyone have any good ideas that I can use? Thanks!

share|improve this question

put on hold as too broad by MichaelT, durron597, Kilian Foth, Dan Pichelman, Snowman 2 days ago

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs. If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers 2

up vote 14 down vote accepted

"How many of you use Facebook?"

While this opener is only somewhat related to C++ (see: the PHP-C++ process that FB uses), you mentioned that your audience isn't familiar with programming at all. This concept would grab the attention of the majority of your audience and I'm sure you could adapt it to make it more applicable to the rest of your presentation.

Following that, you could go on to pick a commonly used facet of Facebook itself (e.g. a wall post, friend request, etc.) and describe the functionality involved behind the process.

share|improve this answer
Awesome, I think this is perfect! Thanks. –  enlgmatlc Apr 5 '11 at 22:06

Stone Knives and Bearskins. That's what our languages are today. The lack of progress in language technology is staggering.

C++ is 31 years old this year. It is strongly based on C and Simula which were born 42 and 45 years ago respectively. During the last 31 years the language had changed a bit. The first edition of "The C++ Programming Language", published in 1985, had 327 pages. The second edition, published in 1991 had 669 pages. The Third edition, published in 1997 has over 1000 pages.

This may seem like a massive amount of change. And it is. However, the computers that execute C++ have changed many times more. In 1980, the year of C++'s birth, a powerful computer had a 1us cycle time, 64k of RAM, and 20MB of disk. It might cost $100K in todays dollars. Today your laptop probably has 8GB of RAM, 500GB of SSD, A 0.34ns cycle time and cost $4k. That's five orders of magnitude more Ram, 4 more of offline memory, 3 more of speed, and two more of cost. Conservatively speaking computers have grown in power by over 14 orders of magnitude.

And there's our dilemma. Our machines have vastly outstripped our languages. For all intents and purposes we are trying to fly F22 Raptors using stone knives and bearskins.

share|improve this answer
Your computer is most likely running a variant of Intel's x86 chip or one of its descendants, which was originally created in 1976. That's even older than C++. In the same way, your suit and penknife are just improved models of stone knives and bearskins. Sometimes the basic design just works. –  Ant Apr 6 '11 at 12:52
The hardware has gotten bigger and faster. It hasn't changed much in actual function in over forty years. (Exceptions: multiple processors are far more common, and hard disks are no longer removable media.) The programming languages and techniques have changed much more than that. –  David Thornley Apr 6 '11 at 13:37

Not the answer you're looking for? Browse other questions tagged or ask your own question.