Hi Banfa, Thanks for your help, I apreciated, well regarding one of my Question about permutation you told me that for the 64 bits variable I must declare it using the followin instruction, long long K, the thing is that Microsoft Visual c++ does not allow me to do it this way, so could you please tell me how to create this variable, so I can use shifting?