服务器端向客户端发送一个进程编号,一个程序域编号,以确定对象的位置。 webservice和.net remoting都是用来通信的框架,它们最大的优点是可以像调用本地对象一样调用远程对象,比如:Uploader uploader = new Uploader();uploader.Save(...
分类:
Web程序 时间:
2014-11-07 18:40:30
阅读次数:
212
一、Warning C4819:The file contains a character that can ot be represented in the current code page(936). save the file in unicode format to prevent dat...
分类:
其他好文 时间:
2014-11-05 12:57:38
阅读次数:
221
The steps of changing the language:Click “Setting ”>”Office 365 Setting”>”Language”,Then choose your language and save.Outlook Language Se...
分类:
编程语言 时间:
2014-11-05 12:47:00
阅读次数:
1483
思路:将NSObject转化为NSData,然后将NSData存入到Core Data中
现有两个自定义的类:Person和Birthday,都需要使用NSCoding,实现initWithCoder和encodeWithCoder两个方法。
Core Data实现
添加数据:
AppDelegate *appDelegate = [[UIApplication sharedApp...
分类:
移动开发 时间:
2014-11-04 19:39:23
阅读次数:
288
dlmwrite :将一个矩阵写到由分隔符分割的文件中。在保存整数到文件时使用save存为ascii文件时,常常是文件里都是实型格式的数据(有小数点,和后面很多的0,看着很不方便)。于是要保存此类数据时,我们可以使用此dlmwrite命令。使用方法:dlmwrite('filename', M)使用...
分类:
其他好文 时间:
2014-11-04 10:42:01
阅读次数:
208
form内控件参数自动添加到url后,而自定义的url参数则不能添加到url后 $('#fm').form('submit', { url: 'Data/Diary.ashx?dt=' + new Date() + '&operation=save', operatio...
分类:
其他好文 时间:
2014-11-03 17:44:15
阅读次数:
167
angular.copy使用效果:初始状态:输入信息后未保存状态:点击save后状态:当输入框内容和master内容不一致时:点击reset使得user的信息被重置为master中信息:具体代码: 1 2 3 4 5 6 7 name: 8 9 email:10 11 gender:1...
我的boost为1.56而不是1.55 boost在xml的例子给出了一段写xml文件的代码,我简化如下:void debug_settings::save(const std::string &filename){ using boost::property_tree::ptree; ...
分类:
其他好文 时间:
2014-11-02 23:47:14
阅读次数:
537
Show Window Close Me Center Me Save Position and Size(配置文件方式) Restore Position and Size(注册表方式) MainWindow(窗体类)
using System;
using System.Collect...
bash: g++ a.cpp b.cpp --save-temps -WallDefinition of a classIn C++,separated .h and .cpp files are used to define one class.Class declaration and pr....
分类:
编程语言 时间:
2014-11-02 11:58:33
阅读次数:
131