Forum: C++ May 11th, 2008 |
| Replies: 10 Views: 686 What is there you cannot understand? If you expect someone to hand out the answers then you are wrong. |
Forum: C++ Apr 30th, 2008 |
| Replies: 10 Views: 1,574 Here are a few errors I can see
int List::sumOfNodes();
remove the ';' at the end.
while( currentPtr ! = null) |
Forum: C++ Apr 24th, 2008 |
| Replies: 15 Views: 1,600 That depends on how you want the love percentage to be calculated and if you want it to be the same for a given set of names. For example you can say that the love percentage will be higher if the... |
Forum: C++ Feb 28th, 2008 |
| Replies: 16 Views: 1,240 Okay here is another shorter alternative.
#include<iostream.h>
int eig(int num)
{
if(num<10)
{
return num; |