int b = int.Parse(Console.ReadLine()); if (b % 4 == 0 && b % 100 != 0) { Console.WriteLine("是闰年"); } ...
分类:
其他好文 时间:
2014-12-13 21:42:40
阅读次数:
232
安装
sudo apt-get install subversion
创建svn仓库地址,用来存放文件
svnadmin create /usr/local/svndata
访问权限的设置
修改文件/usr/local/svndata/conf/svnserve.conf
[general]
#匿名访问的权限,可以是read,write...
分类:
系统相关 时间:
2014-12-13 16:34:41
阅读次数:
122
1: chmod u+x filea -- 这个为u用户增加execute 权限! 2: chmod u-r,g-r,o-r filea 对user,group,others 都减去read 权限! 3: chmod 777 filea 对user,group,oth...
分类:
系统相关 时间:
2014-12-13 16:17:24
阅读次数:
207
转载 : http://www.arm9home.net/read.php?tid-83474.html本人是第一次在此发帖,希望大家多多支持,发帖目的是为了分享,分享的目的是传递开源的精神。Tiny4412开发板刚拿到手是,看了下介绍,发现superboot是个好东西,但是不开源,这个严重与开源思...
分类:
其他好文 时间:
2014-12-13 12:15:03
阅读次数:
276
The API: int read4(char *buf) reads 4 characters at a time from a file.The return value is the actual number of characters read. For example, it retur...
分类:
其他好文 时间:
2014-12-13 06:13:49
阅读次数:
133
The API: int read4(char *buf) reads 4 characters at a time from a file.The return value is the actual number of characters read. For example, it retur...
分类:
其他好文 时间:
2014-12-13 06:07:23
阅读次数:
209
以前经常遇到两种I/O操作一类是f打头的fopen, fread, fwrite一类是没有f打头的open, read, fwrite原来一个是UNIX I/O(在类Unix系统上实现),另一类是标准I/O(在很多系统上都有实现,包括windows)使用标准I/O的好处因为在出UNIX的很多操作系统...
分类:
系统相关 时间:
2014-12-12 19:00:46
阅读次数:
368
S1:A typical READ or WRITE sequence begins by the master sending a start bit. After thestart bit, the master sends the slave device’s 8-bit address. T...
分类:
其他好文 时间:
2014-12-12 18:35:49
阅读次数:
481