i building on a project called multiapplication

Question: if x = 2 , and i need the next number : so 2*2 = 4 , 2*4= 8 , 2*8 = 16 etc.
but its a long way to type on my keyboard, is there a faster way to program this?
this is the code that i have done now.

- Code: Select all
#include <iostream>
using namespace std;
int main(void)
#define x 2
{
cout<< "\n" << x*2;
cout<<"\n" << x*4;
cout<<"\n" << x*8;
cout<<"\n" << x*16;
cout<<"\n" << x*32;
cout<<"\n" << x*64;
cout<<"\n" << x*128;
cout<<"\n" << x*256;
cout<<"\n" << x*512;
cout<<"\n" << x*1024;
cout<<"\n" << x*2048;
cout<<"\n" << x*4096;
cout<<"\n" << x*8192;
cout<<"\n" << x*16384;
cout<<"\n" <<x*32768;
cout<<"\n" <<x*65536;
cout<<"\n" <<x*131072;
cout <<"\n";
system ("pause");
}
Sorry , if my question isn't clear ,i got at the moment not a better explanation

And sorry for my language, English is not my native language.
Thanx,
GoshSpeed