微软近期Open的职位:Job Description:Do you want to play a key part in building a multi-billion dollar revenue product for Microsoft? Are you passionate about ...
分类:
其他好文 时间:
2014-07-07 19:44:16
阅读次数:
322
File 类File.OpenWrite 方法 StringWriter 类 File.open //using (StreamWriter sw2 = File.CreateText(cmdFile)) using (StreamWriter sw2 = new Strea...
分类:
其他好文 时间:
2014-07-07 19:43:03
阅读次数:
177
13/12/27 安装了Planner项目管理软件后,发现.planner文件的默认打开程序为gedit。想要将其修改过来,在open with的程序列表里也没有planner这一项,而且也无法人工指定命令行,似乎这一功能被Nautilus关掉了。通过网上搜索,Gnome系统中文件类型的描述,即mi...
分类:
其他好文 时间:
2014-06-30 13:38:32
阅读次数:
364
iOS下做和UIImage相关功能有段时间,这里总结列下相关经验。1. 基本框架image IO image IO可以通过URL或者dataProvider来生成CGImageSourceRef,然后可以在source上获取第几张图片或者缩略图;根据http://www.mindsea.com/2....
分类:
移动开发 时间:
2014-06-30 13:00:30
阅读次数:
389
GNU Autotools can not only handle making (compiling and linking), distributing, transplanting source code for different platforms, but can also track ...
分类:
其他好文 时间:
2014-06-30 12:33:53
阅读次数:
400
微软近期Open的职位:Job Title:Software Development EngineerIIDivision: Server & Tools Business - Commerce Platform GroupWork Location: Shanghai, ChinaAre you ...
分类:
其他好文 时间:
2014-06-30 11:24:01
阅读次数:
255
最近公司产品需要增加一个功能,就是版本自动更新,使用apt-get 实现。apt-get 软件源配置的方法,参见本人资源里的共享。下面是代码中作为升级的一部分。 FILE *fp;
char buffer[256];
char source_ok[] = "Reading package lists...";
if(0 > system("mv -f /etc/apt/sources....
分类:
其他好文 时间:
2014-06-30 08:37:47
阅读次数:
228
对每个圆二分半径寻找可行的最小半径,然后取最小的一个半径。
对于两圆相交就只要求到两个扇形,然后减去两个全等三角形就行了。
#include
#include
#include
#include
using namespace std;
#define pi acos(-1.0)
#define eps 1e-8
#define maxn 50
int n;
struct point{...
分类:
其他好文 时间:
2014-06-29 22:36:16
阅读次数:
247
We must have already been familiar with proprietary Fortran programming environments, for example,Compaq Visual Fortran IDE (which is actually a combi...
#include#includechar *find_char(char const *source_str, char const *desc_str);int main(void){ char *source_str = "ABCDEF"; char *desc_str = "MMD...
分类:
其他好文 时间:
2014-06-29 19:32:34
阅读次数:
171