File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change 1114
1114
delete i; // single-object delete
1115
1115
int* a = new int[3];
1116
1116
delete [] a; // array delete
1117
- return 0;
1118
1117
}
1119
1118
\end {codeblock }
1120
1119
1323
1322
int main() {
1324
1323
int flag = std::ios_base::hex;
1325
1324
std::cout.setf(flag); // error: \tcode {setf} does not take argument of type \tcode {int}
1326
- return 0;
1327
1325
}
1328
1326
\end {codeblock }
1329
1327
Original file line number Diff line number Diff line change 5626
5626
wchar_t c = use_facet<wctype>(loc).widen('!');
5627
5627
if (!use_facet<My::JCtype>(loc).is_kanji(c))
5628
5628
cout << "no it isn't!" << endl;
5629
- return 0;
5630
5629
}
5631
5630
\end {codeblock }
5632
5631
5667
5666
locale loc(locale(""), new My::BoolNames(""));
5668
5667
cout.imbue(loc);
5669
5668
cout << boolalpha << "Any arguments today? " << (argc > 1) << endl;
5670
- return 0;
5671
5669
}
5672
5670
\end {codeblock }
5673
5671
\end {example }
You can’t perform that action at this time.
0 commit comments