Documentos de Académico
Documentos de Profesional
Documentos de Cultura
6inclue 7al0orit1m8
Sort a 5ector2
st22sort"5ec3be0in"#, 5ec3en"##;
Le5erse a 5ector2
st22re5erse"5ec3be0in"#, 5ec3en"##;
Min/Ma'2
st22runtime:error
st22ba:alloc
st22ba:cast
Functions a t1ro."exceptions-thrown# at en
o) eclaration3
5oi a11"int i# t1ro."# H
//T1is )unction assume to not t1ro. anyt1in0
I
5oi bla11"int i# t1ro."int# H
//T1is )unction may t1ro. int i) t1ere@s an error
I
20
Today
Stanar Tem!late Library "STL#
$ra%ay $onst
&'ce!tions
#unction pointers
(rie) intro to $**11
21
/unction! 0ointer!
(e)ore $**112
5ector75ector7int8 8 5ector:o):int:5ectors;
$**112
5ector75ector7int88 5ector:o):int:5ectors;
31
C++22
&'2
6inclue 7iostream8
usin0 names!ace st;
int main"#H
auto )unc < => "int i# H cout 77 OHi O 77 i 77 enl; I;
)unc"1#; // no. call t1e )unction
I
33
C++22
Le)erence2
1tt!2//...3c!ro0rammin03com/tutorial31tml6c**11
1tt!2//en3.iki!eia3or0/.iki/$U2(U2(11
34
It3! about t$at time...