使用Win7 X64 並安裝Visual Studio 2010 C#且同時安裝 Visual Studio 2010 Express For Windows Phone,再開啟Windows Form 專案 設計表單時,會發生"xxx 已停止運作"。

 

小賢 發表在 痞客邦 留言(3) 人氣()

#include 
#include 

#define max 100

int main(int argc,char *argv[])
{
    char startStr[200];
    char str[max];
    FILE *fp;
    
    fp = fopen("Chrome廣告.txt","r");
    
    
    while(!feof(fp))
    {

        fgets(str,max-1,fp);
        
        strcpy(startStr,"start ");
        strcat(startStr,str);
        
        printf("%s",startStr);
        system(startStr);
    }
    
    fclose(fp);
    
    printf("\n");
    system("pause");
    return 0;
}

使用方法:將"批次開啟.exe"與"Chrome廣告.txt"放在同一個目錄底下,預設瀏覽器改成Google Chrome,然後點兩下執行"批次開啟.exe"

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

  快要入伍了!! 這是入伍前的最後修改... 

 

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

  很久一段時間沒寫程式了,這是暑假剛開始的時候,將XNA 3.1小飛機電腦版改版成XNA 4.0,改版的過程還算順利,主要的問題是關於Color color = new Color(rgb,alpha);不見了。

 

小賢 發表在 痞客邦 留言(0) 人氣()


小賢 發表在 痞客邦 留言(0) 人氣()