在Xcode中模板位置:Macintosh HD ? 应用程序 ? Xcode(低于版本6的).app ? Contents ? Developer ? Platforms ? iPhoneOS.platform ? Developer ? Library ? Xcode ? Templates ?...
分类:
移动开发 时间:
2014-11-18 15:57:02
阅读次数:
162
A web application which wants to gain access to shared resources should redirect the user to a page of the authorization server. When doing so, it inf...
分类:
移动开发 时间:
2014-11-18 13:24:43
阅读次数:
241
MAC OS开启关闭ftp命令第一种:通过命令行来开启关闭,如下所示:开启 FTP Serversudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist关闭 FTP Serversudo -s launchctl unload...
分类:
系统相关 时间:
2014-11-18 13:09:51
阅读次数:
208
在Xcode中模板位置:Macintosh HD ? 应用程序 ? Xcode(版本号).app ? Contents ? Developer ? Platforms ? iPhoneOS.platform ? Developer ? Library ? Xcode ? Templates ? Pr...
分类:
移动开发 时间:
2014-11-17 19:02:44
阅读次数:
169
五.共享内存(shared memory)共享内存映射为一段可以被其他进程访问的内存。该共享内存由一个进程所创建,然后其他进程可以挂载到该共享内存中。共享内存是最快的IPC机制,但由于linux本身不能实现对其同步控制,需要用户程序进行并发访问控制,因此它一般结合了其他通信机制实现了进程间的通信,例...
分类:
系统相关 时间:
2014-11-17 17:13:51
阅读次数:
415
http://msdn.microsoft.com/en-us/library/ms171878.aspx1.首先创建一张表CREATE TABLE Ord ( OrderID int identity(1,1) PRIMARY KEY, CustomerI...
分类:
数据库 时间:
2014-11-17 17:13:12
阅读次数:
311
这一节也比较简单,先假设我们有如下的函数:int foo();void memFoo(shared_ptr pw, int foo);现在假设我们要调用memFoo函数:memFoo(new W, foo());但是这样写编译是通不过的,我们可以改造为:memFoo(shared_ptr(new W...
分类:
其他好文 时间:
2014-11-17 17:11:22
阅读次数:
97
第一节 条款13中讲到“资源取得的时机便是初始化时机”并由此引出“以对象管理资源”的概念。通常情况下使用std中的auto_ptr(智能指针)和tr1::shared_ptr(引数智能指针)作为管理资源的对象。事实上,这种管理方法十分有效。但是,auto_ptr和tr1::shared_ptr只.....
分类:
其他好文 时间:
2014-11-17 15:25:48
阅读次数:
179
MAC系统中MySQL有dmg安装文件,但是没有卸载程序,只能手动卸载,比较麻烦卸载过程:系统偏好-》mysql-》停止mysql进程再终端里面输入下面的命令sudorm/usr/local/mysqlsudorm-rf/usr/local/mysql*sudorm-rf/Library/StartupItems/MySQLCOMsudorm-rf/Library/PreferencePanes..
分类:
数据库 时间:
2014-11-17 14:16:48
阅读次数:
193
微软近期Open的职位:Position: Senior SDEThe R&D of Shared Data Platform at Application and Services Group (ASG) China aims to build a unified data platform en...
分类:
其他好文 时间:
2014-11-17 14:01:02
阅读次数:
244