diff options
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; } |