Abilitare JavaScript per vedere questo sito.

Costruttore per la classe string.

Sintassi

string()

string(const string &in source)

source

Stringa sorgente

Esempio di utilizzo:

/* Stringa vuota */

string empty_string;

 

/* Stringhe assegnate */

string target1("valore per stringa 1");

string target2(target1);

string target3 = "valore per stringa 3";

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC