summaryrefslogtreecommitdiff
path: root/6p19.cpp
blob: d207b15cb9dbe52eac3b55731bc90986d4095c7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

/*
 *
 * 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); // legalx
	*/
	return 0;
}