close

 

Step1. 進入該網站 http://formatmysourcecode.blogspot.tw/

Step2.將程式碼放進去

Step3.點擊 Form Text

Step4.產生

 

 

int func(int x)
{
    int count_x = 0 ;
    while (x)
    {
        count_x++;
        x = x&(x-1);
    }
    return count_x;
}

arrow
arrow

    Eric 發表在 痞客邦 留言(1) 人氣()