diff options
author | Oskar <[email protected]> | 2024-09-06 15:37:57 +0200 |
---|---|---|
committer | Oskar <[email protected]> | 2024-09-06 15:37:57 +0200 |
commit | 9b73f5889937d88796b45126f6165027fecd3436 (patch) | |
tree | 104545fdf4532e9e7d6b3330de5be7ed17ca028d /6p19.cpp | |
parent | 1792d08e9e5d56bc1ab477a8b1fec0ce1446d012 (diff) |
more
Diffstat (limited to '6p19.cpp')
-rw-r--r-- | 6p19.cpp | 22 |
1 files changed, 20 insertions, 2 deletions
@@ -1,12 +1,30 @@ -#include <iostream> /* * - * Description + * 6.19 * * */ int main () { + + /* + double calc(double); + int count(const string &, char); + int sum(vector<int>::iterator, vector<int>::iterator, int); + vector<int> vec(10); + + (a) + calc(23.4, 55.1); // illegal, only 1 argument + + (b) + count("abcda", ’a’); // legal + + (c) + calc(66); // legal + + (d) + sum(vec.begin(), vec.end(), 3.8); // legal + */ return 0; } |