Power of N + Overcome Size Limitations

Hi, i am writing a program that asks the person for a number and then will out put that number by the power of 2. so 2 ^ 6 = 64. This program needes to be created without using the math functions all the maths have to be done programmaticaly.

i know i am prob wrong because i cant get anywhere with this program. here is the code so far.

Code:

#include <iostream>

using namespace std;

int power;

int n;

int counter;

int main ()

{

cout <<"Please enter a power number";

cin >> n;

counter = 2;

if(counter < n)

{

counter*2;

}

if(counter == n)

{

counter * n;

}

cout <<counter;

system("pause");

}

the other problem i have is once i have the power to work i need to allow the program to overcome size limitations and show all the numbers. for example i need

Code:

`2^200 = 1606938044258990275541962092341162602522202993782792835301376.`

if anyone can help me with this then thanx soo much as i am finding this program hard to complete.