Forum: C++ Jan 1st, 2008 |
| Replies: 4 Views: 792 thanks invisal but, it didn't cause any compilation error but for any number i put in it is showing -1 as the result |
Forum: C++ Jan 1st, 2008 |
| Replies: 4 Views: 792 hi, i wanted to find the factorial with the same problem that I had the previous time:
here's the code that I wrote, so how can i find the factorial and display it to the user?
#include... |
Forum: C++ Dec 29th, 2007 |
| Replies: 5 Views: 3,276 hi,
i am basically a newbie to C++ and tried to make this simple math program but came acroos this error and don't know how to resolve it:
#include <iostream>
#include <cmath>
#include... |