0
power
can i do something like a^b with both as integers new int a and new int b? and how
2 Réponses
0
#include <iostream>
#include <math.h>
#include <stdio.h>
using namespace std;
int main()
{
int *a = new int;
*a = 45;
int *b = new int;
*b = 2;
int h = pow(*a,*b);
cout << h << endl;
delete a, b;
return 0;
}
0
thnx