Help!


What is wrong with this?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "bucket.h"
#include <iostream>
using namespace std;


double size;
int main()

{

	double MySize;
	double size;
	double bucket;
	void bucket::SetGallonSize(double size);
	
	MySize::SetGallonSize(5.0);
	
	bucket:: FillBucket(3.2);
On line 16 you call static member SetGallonSize on a double. And on line 18 the same problem.
Topic archived. No new replies allowed.