Chinaunix首页 | 论坛 | 博客
  • 博客访问: 305568
  • 博文数量: 214
  • 博客积分: 4258
  • 博客等级: 上校
  • 技术积分: 2021
  • 用 户 组: 普通用户
  • 注册时间: 2010-12-02 09:16
个人简介

http://blog.csdn.net/ly21st http://ly21st.blog.chinaunix.net

文章分类

全部博文(214)

文章存档

2018年(16)

2015年(1)

2014年(2)

2012年(22)

2011年(173)

发布时间:2011-12-30 13:14:15

汇编程序版本1;我们的启动程序实现的功能是在屏幕中央;打印一行字符串即可org 07c00h      ;指令明确告诉编译器我程序的段地址是7c00h                ;而不是原来的 00000    .........【阅读全文】

阅读(303) | 评论(0) | 转发(0)

发布时间:2011-12-27 19:59:31

#include <stdio.h>#include <string.h>#define ISNULL(pszIn)  pszIn==NULL static char* AFA_DoubleByteToByte(char* pszIn,unsigned int inLen,char* pszOut,unsigned int* outLen){ int  i; int  j; char HIBYTE; char LOBYTE;  i.........【阅读全文】

阅读(393) | 评论(0) | 转发(0)

发布时间:2011-12-25 19:40:47

#include <stdio.h>#include <stdarg.h>void print_int(int n,...){ va_list vargs;  int num;  int i;  va_start(vargs,n);  for (i=0; i < n; i++) {  num = va_arg(vargs,int );  printf("%d\n",num);  }} int main(){ .........【阅读全文】

阅读(339) | 评论(0) | 转发(0)

发布时间:2011-12-20 21:39:13

文件share_proc.c #include <stdio.h>#include <stdlib.h>#include <sys/types.h>#include <sys/shm.h>#include <string.h>#include <unistd.h>#include <sys/wait.h> struct A{       int x;  &nb.........【阅读全文】

阅读(495) | 评论(0) | 转发(0)

发布时间:2011-12-18 20:40:53

遇到的问题是,我把E-mail地址收集在txt文件中(每行一个E-mail地址,共78000行),要求是把其中重复的E-mail地址全部去掉。考虑编程方便,我用了CString类,但似乎效率不高。我写出来的整理78000份E-mail地址的需要近7分钟的时间 我给他用Python实现了一个(这个版本是修改过的,当时我随手实现的一个版本做错了,呵.........【阅读全文】

阅读(354) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册