summaryrefslogtreecommitdiff
path: root/6p19.cpp
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-09-06 15:37:57 +0200
committerOskar <[email protected]>2024-09-06 15:37:57 +0200
commit9b73f5889937d88796b45126f6165027fecd3436 (patch)
tree104545fdf4532e9e7d6b3330de5be7ed17ca028d /6p19.cpp
parent1792d08e9e5d56bc1ab477a8b1fec0ce1446d012 (diff)
more
Diffstat (limited to '6p19.cpp')
-rw-r--r--6p19.cpp22
1 files changed, 20 insertions, 2 deletions
diff --git a/6p19.cpp b/6p19.cpp
index 58d5fbf..af813f4 100644
--- a/6p19.cpp
+++ b/6p19.cpp
@@ -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;
}