An Introduction of the C++ Standard Template Library

The C++ STL(Standard Template Library) is a carefully constructed library developed by Alexander Stepanov, Meng Lee and others at Hwelett Packard.

The core of STL include container which represent data structure and algorithm which apply on the data structure and iterator which is the bridge between container and algorightm.

FancyZoom startup example

FancyZoom is a nice image lightbox plugin. Here is the simplest way to use it.

First you should have a way to initialize it when DOM is loaded , here we use addDOMLoadEvent introduced in Compatible Javascript code addDOMLoadEvent . Its better than old IE's load event.

Compatible Javascript code addDOMLoadEvent

I come across a piece of Javascript code like this one:

Its packed, but then I found the unpacked and improved version:

An Simple Example Help You Understand STL

This example comes from the book of "Addison-Wesley, Designing Components with the C++ STL, Electronic 3rd Edition.pdf". Its a simple list implements an iterator in the class.

Look at each function carefully and get a clear idea of the mechnnism you will understand the core of the STL.

Hello World!

This is the first post . Welcome to the site
Previous Page 1 ... 65 66