From 9b73f5889937d88796b45126f6165027fecd3436 Mon Sep 17 00:00:00 2001 From: Oskar Date: Fri, 6 Sep 2024 15:37:57 +0200 Subject: more --- 6p19.cpp | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to '6p19.cpp') diff --git a/6p19.cpp b/6p19.cpp index 58d5fbf..af813f4 100644 --- a/6p19.cpp +++ b/6p19.cpp @@ -1,12 +1,30 @@ -#include /* * - * Description + * 6.19 * * */ int main () { + + /* + double calc(double); + int count(const string &, char); + int sum(vector::iterator, vector::iterator, int); + vector 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; } -- cgit v1.2.3