现在位置: 首页 > conto发表的所有文章
  • 08月
  • 07日
综合 ⁄ 共 66字 评论关闭
http://lyjdamzwf.blog.163.com/blog/static/75206837201010893815853/
阅读全文
  • 03月
  • 04日
综合 ⁄ 共 173字 评论关闭
今天在安装Python的时候,出现了2503的错误,试了很多次以为是Python的安装包有问题,在网上查了一下,才知道是系统的问题,win8系统下安装.mis文件时普遍存在的问题,于是就把该方法在此总结一下,以备自己日后查阅: 方法是: 1、以管理员身份运行cmd 2、添加如下内容:misexec  /package  "安装包的路径" 例如: 如下图所示:
阅读全文
  • 09月
  • 09日
综合 ⁄ 共 3719字 评论关闭
   1  '/media/cdrom0/runasroot.sh'     2  cd /media/cdrom0     3  sudo sh VBoxLinuxAdditions.run     4  su - root     5  sudo sh VBoxLinuxAdditions.run     6  su - root     7  sudo sh VBoxLinuxAdditions.run     8  cd /media/cdrom0/     9  ls    10  sudo VBoxLinuxAdditions.run    11  ls    12  sudo ifconifg    13  sudo ifconfig    14  ping 192.168.1.14    15  ls    16  cd 文档    17  ls    18  cd ruby/blogs    19  ls    20  rails s    21  sudo rails s    22  ruby    23  ruby -v    24  rai......
阅读全文
这个是由于文件编译不支持 可以将target-> Apple LLVM complier 4.1-Language ->C++ standard Library 改成Compiler Default.
阅读全文
  • 05月
  • 04日
综合 ⁄ 共 198字 评论关闭
1. 晨会师傅否决了通过RibbonBar::drawTitleBar改标题栏背景的想法,主要需要通过2013风格方式修改2010,ribbontitilebar在我手上夭折了。 2. 造成修改GLDFileTreeView时,遇到循环引用问题,(花了很多时间没搞定,请教顿栋超师傅),http://blog.csdn.net/yunyun1886358/article/details/5672574
阅读全文
  • 04月
  • 25日
综合 ⁄ 共 234字 评论关闭
#include<cstdio> #include<bitset> using namespace std; bitset<2000000> f; int n,x,sum,ans; int main(){ scanf("%d",&n); f[0]=1; for(int i=1;i<=n;i++){ scanf("%d",&x); f^=(f<<x); sum+=x; } for(int i=1;i<=sum;i++) if(f[i]==1)ans^=i; printf("%d",ans); return 0; }
阅读全文
  • 04月
  • 15日
综合 ⁄ 共 769字 评论关闭
Everything is back on line.         Sometimes, the line-life is not good for health.          The video games, video stories, always make me feel my life is not real. I have no ability controlling my own life. Every piece of happiness seemed from the virtul stories, the video stories. The morning, the half of the day, just was used to watch the trashy movies. And the interrupted supply of electricity forced me back to the reality. That's where I am now.         Sometimes, I hate the Windo......
阅读全文
  • 03月
  • 31日
综合 ⁄ 共 1482字 评论关闭
1 shell程序就是位于应用软件与系统调用之间的程序   每个用户登录系统,系统就会为用户分配shell (用户的登录的口令文件 在  /etc/passwd 2 ls filename  运行原理   敲入命令传入main函数参数   根据argv[1]创建一个指向DIR的目录文件指针,并根据argv[1]创建目录    在从该目录文件读取文件,返回一个指向struct_dirent类型的指针    从而输出文件的名称 代码如下 #include <stdio.h> #include <sys/types.h> #include <dirent.h> int main(int argc, char* argv[]){      DIR               *dp;      stru......
阅读全文
  • 03月
  • 18日
综合 ⁄ 共 924字 评论关闭
转自:http://www.wordlm.com/html/1711.html 第一款:e-PDF To Word Converter v2.5软件大小:2.93MB软件类型:汉化版软件性质:共享版热门程度:★★★★★本地下载----------------------------------------------------------------------------------------第二款:YJPDF PDF2Word V3.0软件大小:6.83MB软件类型:中文版软件性质:免费版热门程度:★★★★★本地下载 官方下载-----------------------------------------------------------------------------------------第三款:PDF2Word(pdf to word)2.1大小:253KB类型:汉化版性......
阅读全文
  • 03月
  • 17日
综合 ⁄ 共 1448字 评论关闭
  见网上都没有这个算法的具体模板,我不为什么,也许是太简单啦 在队友的帮助下,写了一个,分享一下, 追求简单易懂(不求短码) 你如果理解后,可以大大的简写代码(不用写两个dfs 一个就够了) 对应hdoj 3072 题意:给你n个点,m条边,每条边有一个权值(传送message代价),已知强连通分支内部不需花费,求minimal cost 步骤: 1.缩点n->scc个点 2.将到这scc个点的最小代价计算出来 3.相加  #include <stdio.h> #include <string.h> #define INF    0x3f3f3f3f #define V    50050 #define E    100050 s......
阅读全文
  • 02月
  • 07日
综合 ⁄ 共 1335字 评论关闭
CPU()功能得到自当前应用程序启动后开始CPU所消耗的时间,以毫秒为单位。语法CPU()返回值Long。返回自当前应用程序启动后开始CPU所消耗的时间,以毫秒为单位。 Idle()功能该函数在用户每次活动(例如,按键盘、移动鼠标等)后重置定时器,n秒后触发应用对象的Idle事件。语法Idle ( n )参数n:指定空闲时间间隔,以秒为单位。该参数的值设置为0时,停止空闲检测,不再触发应用对象的Idle事件返回值Integer。函数执行成功时返回1,此时启动定时器。如果不能启动定时器或定时器未启动而n的值指定为0时,函数返回-1。如果任何参数的......
阅读全文
  • 02月
  • 03日
综合 ⁄ 共 255字 评论关闭
1、得到当前屏幕的尺寸: CGRect rect_screen = [[UIScreenmainScreen]bounds];     CGSize size_screen = rect_screen.size; 2、获得scale: CGFloat scale_screen = [UIScreen mainScreen].scale; 3、获取分辨率 CGFloat width = size_screen.width*scale_screen; CGFloat height = size_screen.height*scale_screen;
阅读全文