自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

TangCode的专栏

coding...

  • 博客(4)
  • 资源 (1)
  • 收藏
  • 关注

原创 linux中描述符和标准IO流对文件的基本操作

在linux中,对于文件的操作可以使用文件描述符来对文件进行操作,也可以使用传统的标准的IO(即VC6.0中所对文件的操作),下面利用一个文件拷贝的程序使用两种方式展示两种文件操作的不同之处。 文件描述符方式: #include #include #include #include #include #include #include #define FilePat

2015-07-07 23:01:27 852 1

原创 Linux中验证CPU架构模式及变量类型段的查找

readelf -S 可执行文件   //查看段 vi 进入vi编辑器,三种模式: 命令模式 输入模式:底部有-insert-,按ESC回到命令模式 末行模式:在命令模式中,输入:进入末行模式。  :w 文件名 ---保存文件  :q!      ---退出vi编辑器  :wq 文件名---保存强行退出 -bss 未初始化数据段 -data 可读数据段 -rodata

2015-07-06 00:03:55 467

原创 linux命令简单编译C代码

/*Linux命令*/ farsight@ubuntu:~$ cd /home/farsight/dir farsight@ubuntu:~/dir$ gedit test.c farsight@ubuntu:~/dir$ gcc -o testexe test.c farsight@ubuntu:~/dir$ ./testexe Enter the username:farsight

2015-07-05 01:25:31 516

原创 linux中简单编译C语言

/*Linux命令*/ farsight@ubuntu:~$ cd /home/farsight/dir farsight@ubuntu:~/dir$ gedit test.c farsight@ubuntu:~/dir$ gcc -o testexe test.c farsight@ubuntu:~/dir$ ./testexe Enter the username:farsight

2015-07-05 00:53:07 369

单变量与双变量遗传算法的实现

Matlab程序,有关于单变量与双变量遗传算法的实现。程序里包含不同子函数(编码,变异,交叉,复制,解码)

2018-03-12

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除