summaryrefslogtreecommitdiff
path: root/6p19.cpp
diff options
context:
space:
mode:
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;
}