Forum: C++ Jul 13th, 2008 |
| Replies: 11 Views: 989 Now i understand, thanks for helping me and giving information...
thanks for everything.... |
Forum: C++ Jul 13th, 2008 |
| Replies: 11 Views: 989 it's better if it is like this:
int byThePower(int number, int power)
{
if (power != 0)
return number * (byThePower(number , power - 1));
else
return 1;
} |
Forum: C++ Jul 13th, 2008 |
| Replies: 11 Views: 989 yeah that was the output of my program.. but i want my program to output like this:
2^4 = 16 or
3^3 = 27.
I don't know what is the right code to achieve this... can you help me to give the right... |
Forum: C++ Jul 13th, 2008 |
| Replies: 11 Views: 989 This is my program i created.... please help to debug this
#include <iostream.h>
#include <stdlib.h>
int byThePower(int number, int power);
int main()
{
int number, power, answer;
cout... |
Forum: C++ Jul 13th, 2008 |
| Replies: 11 Views: 989 hi there, can someone help me how to write a recursive function that takes the number to the power. Thus, if the number is 2 and the power is 4, the function will return 16.
I'm looking forward... |
Forum: Viruses, Spyware and other Nasties Jul 12th, 2008 |
| Replies: 4 Views: 658 Thanks, i will keep that in my mind.... |
Forum: Viruses, Spyware and other Nasties Jul 11th, 2008 |
| Replies: 4 Views: 658 Hi there,
Thanks for the information...
I tried to use a registry cleaner program and it removes it.
Now, that error does'nt appear everytime i restarted my PC....
Thanks |
Forum: Viruses, Spyware and other Nasties Jul 10th, 2008 |
| Replies: 4 Views: 658 Hi there,
Im a new one's here, kindly please someone help me how to stop an error loading everytime i started my PC since it was first occur when my anti-virus detect it as a virus and deleted... |