摘要:        
在程序中用到了libcurl,编译时出现curl/types.h: No such file or directory错误查找到http://projects.springlobby.info/issues/1575中提到了这个问题This is a problem on archlinux which just got curl 7.21.7.curl devs removed curl/types.h and put its content in curl/curl.h.意思是在新版中把curl/types.h合并到了curl/curl.h中我的解决方法是在cd /usr/include/    阅读全文
        
            posted @ 2013-11-05 17:32
天王星天
阅读(3675)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
1 /// 2 /// 取得外网 IP Address 3 /// 4 /// 5 private string GetExtranetIPAddress() 6 { 7 HttpWebRequest request = HttpWebRequest.Create("http://www.whatismyip.com.tw") as HttpWebRequest; 8 request.Method = "GET"; 9 request....    阅读全文
        
            posted @ 2013-11-05 15:23
天王星天
阅读(256)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
1 #include 2 #include 3 #include 4 #include 5 #define MAXN 1024+10 6 char url [MAXN] = "http://www.google.com:80/wiki/Search?search=train&go=Go#steammachine"; 7 8 int main() 9 { 10 const char *parseptr1; 11 const char *parseptr2; 12 int len; 13 int i; 14 parseptr2...    阅读全文
        
            posted @ 2013-11-05 11:15
天王星天
阅读(332)
评论(0)
推荐(0)
        
        
 
                     
                    
                 
                    
                 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号