02.06.2013 Views

CORSO C++ STANDARD - Didattica.it

CORSO C++ STANDARD - Didattica.it

CORSO C++ STANDARD - Didattica.it

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Ered<strong>it</strong>à e overload<br />

La dichiarazione using<br />

Ered<strong>it</strong>à multipla e classi basi virtuali<br />

• Polimorfismo<br />

Late binding e polimorfismo<br />

Ambigu<strong>it</strong>à dei puntatori alla classe base<br />

Funzioni virtuali<br />

Tabelle delle funzioni virtuali<br />

Costruttori e distruttori virtuali<br />

Scelta fra veloc<strong>it</strong>à e polimorfismo<br />

Classi astratte<br />

Un rudimentale sistema di figure geometriche<br />

Un rudimentale sistema di visualizzazione delle figure<br />

• Template<br />

Programmazione generica<br />

Definizione di una classe template<br />

Istanza di un template<br />

Parametri di default<br />

Funzioni template<br />

Differenze fra funzioni e classi template<br />

Template e modular<strong>it</strong>à<br />

• General<strong>it</strong>à sulla Libreria Standard del <strong>C++</strong><br />

Campi di applicazione<br />

Header files<br />

Il namespace std<br />

La Standard Template Library<br />

• La Standard Template Library<br />

General<strong>it</strong>à<br />

Iteratori<br />

Conten<strong>it</strong>ori Standard<br />

Algor<strong>it</strong>mi e oggetti-funzione<br />

• Una classe <strong>C++</strong> per le stringhe<br />

La classe string<br />

Confronto fra string e vector<br />

Il membro statico npos<br />

Costruttori e operazioni di copia<br />

Gestione degli errori<br />

Conversioni fra oggetti string e stringhe del C<br />

Confronti fra stringhe<br />

Concatenazioni e inserimenti<br />

Ricerca di sotto-stringhe<br />

Estrazione e sost<strong>it</strong>uzione di sotto-stringhe<br />

Operazioni di input-output<br />

• Librerie statiche e dinamiche in Linux<br />

Introduzione<br />

Librerie in ambiente Linux<br />

Un programma di prova<br />

Librerie statiche<br />

Come costruire una libreria statica<br />

Link con una libreria statica<br />

I lim<strong>it</strong>i del meccanismo del link statico<br />

Librerie condivise

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!