Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
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
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding Random Min and Max imagikricei C++ 18 Jun 12th, 2006 1:29 PM
Sum of Divisors titaniumdecoy Software Design and Algorithms 20 May 14th, 2006 4:24 PM