View Single Post
Old Jan 6th, 2007, 9:20 PM   #11
grumpy
Programming Guru
 
grumpy's Avatar
 
Join Date: Jun 2005
Location: Adelaide, South Australia
Posts: 1,254
Rep Power: 5 grumpy will become famous soon enough
If you want help on an error message, it's a good idea to give us the same information your compiler gave you (eg the text of the error message, the line number it highlightd as a problem).

In this case, the problem is when you're calling divisor_count.
          divisors = divisor_count(int x);
I've highlighted the int keyword here because it is the source of your problem. Remove it.
grumpy is offline   Reply With Quote