10 2013 档案
摘要:http://bbs.pediy.com/showthread.php?t=157419
阅读全文
摘要:1 package main 2 3 import ( 4 "fmt" 5 "net" 6 ) 7 8 func main() { 9 addrs, err := net.InterfaceAddrs()10 if err != nil {11 panic(err)12 }13 for _, addr := range addrs {14 fmt.Println(addr.String())15 }16 }
阅读全文
摘要:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/
阅读全文
摘要:百度vld和windbg安装配置symbol路径配置环境变量_NT_SYMBOL_PATHSRV*E:\symbols*http://msdl.microsoft.com/download/symbols在测试工程里面添加include目录,%VLD_PATH%\include添加lib目录,%VLD_PATH%\lib\Win32工程添加#include "vld.h"即可
阅读全文
摘要:大概这样,笔记一下,防止忘记1 - (void)applicationDidFinishLaunching:(NSNotification *)aNotification2 {3 MyViewController* ctller = [[MyViewController alloc] initWithNibName:@"MyViewController" bundle:nil];4 [self.window setContentView:ctller.view];5 [ctller release];6 }
阅读全文