顯示具有 C# 標籤的文章。 顯示所有文章
顯示具有 C# 標籤的文章。 顯示所有文章

2009年8月13日 星期四

c#練習 - int,字串互轉

int to string
int num = 5;
string str = num.ToString();

string to int
string str= "5";
int num = int.parse(str);

winsock2.h redefined問題

解法: #define _WINSOCKAPI_    // stops windows.h including winsock.h #include #include