搜索结果

找到约 104 项符合 Printf 的查询结果

Internet/网络编程 C语言实现病毒源码 当含有病毒部分的程序被执行时

C语言实现病毒源码 当含有病毒部分的程序被执行时,首先进入病毒程序。它在磁盘上找扩展名为C的匹配文件,如果找到,查找是否有被传染过的标志“INFECTED”。如果有此标志,继续找其它的C文件,直至全部检查一遍。若没有这个标志,则 (1)在未被感染的C程序头部加入“INFECTED”已被传染标志。 (2)读取病毒文件的头文件 ...
https://www.eeworm.com/dl/620/416937.html
下载: 145
查看: 1044

Linux/Unix编程 //获得当前的模式 oldmode = vga_getcurrentmode[] //初始化 vga_init[] //判断是否支持该模式 if[vga_ha

//获得当前的模式 oldmode = vga_getcurrentmode[] //初始化 vga_init[] //判断是否支持该模式 if[vga_hasmode[mode]] vga_setmode[mode] else { printf["No such mode\n"] exit[1] } //取得信息 width = vga_getxdim[] height = vga_getydim[] colors = vga_getcolors[] // ...
https://www.eeworm.com/dl/619/418767.html
下载: 135
查看: 1021

Linux/Unix编程 //获得当前的模式 oldmode = vga_getcurrentmode[] //初始化 vga_init[] //判断是否支持该模式 if[vga_ha

//获得当前的模式 oldmode = vga_getcurrentmode[] //初始化 vga_init[] //判断是否支持该模式 if[vga_hasmode[mode]] vga_setmode[mode] else { printf["No such mode\n"] exit[1] } //获得当前的模式 mode = vga_getcurrentmode[] info = vga_getmodeinfo[mode] ...
https://www.eeworm.com/dl/619/418769.html
下载: 68
查看: 1061

Linux/Unix编程 srand[getpid[]] /* initialize some of the memory */ memset[heightmap, 0, MAPSIZE*MAPSIZE]

srand[getpid[]] /* initialize some of the memory */ memset[heightmap, 0, MAPSIZE*MAPSIZE] memset[vpage, 0, RENDERWIDTH * RENDERHEIGHT] printf["Creating dx d fractal terrain\n", MAPSIZE, MAPSIZE] heightmap[0] = [rand[] 128] + 64 // initialize starting point on map CreateFract ...
https://www.eeworm.com/dl/619/418770.html
下载: 180
查看: 1033

Linux/Unix编程 srand[getpid[]] /* initialize some of the memory */ memset[heightmap, 0, MAPSIZE*MAPSIZE]

srand[getpid[]] /* initialize some of the memory */ memset[heightmap, 0, MAPSIZE*MAPSIZE] memset[vpage, 0, RENDERWIDTH * RENDERHEIGHT] printf["Creating dx d fractal terrain\n", MAPSIZE, MAPSIZE] heightmap[0] = [rand[] 128] + 64 // initialize starting point on map CreateFract ...
https://www.eeworm.com/dl/619/418771.html
下载: 73
查看: 1041

Linux/Unix编程 //结构 struct fb_fix_screeninfo finfo struct fb_var_screeninfo vinfo //打开设备 fd = open[

//结构 struct fb_fix_screeninfo finfo struct fb_var_screeninfo vinfo //打开设备 fd = open["/dev/fb0", O_RDWR] if [!fd] { printf["Cannot open framebuffer device.\n"] exit[1] } //取得固定信息 if [ioctl[fd, FBIOGET_FSCREENINFO, &finfo]] { printf["Error reading fixed info ...
https://www.eeworm.com/dl/619/418778.html
下载: 99
查看: 1063

单片机开发 移植uip-1.0到Atmega32 1)把 uip-1.0 的所有文件加入到工程

移植uip-1.0到Atmega32 1)把 uip-1.0 的所有文件加入到工程,包括 uip 目录的文件(除uip-split.c)、unix 目录的文件、lib 目录的文件; 2)修改 uip/uip-neighbor.c 文件的 void uip_neighbor_add(uip_ipaddr_t ipaddr, struct uip_neighbor_addr *addr) 函数,一般注释掉 printf 语句即可,或者改为你自己的串口 ...
https://www.eeworm.com/dl/648/465944.html
下载: 26
查看: 1062

*行业应用 client socket include <sys/types.h> include <sys/socket.h> include <stdio.h> i

client socket include <sys/types.h> include <sys/socket.h> include <stdio.h> include <netinet/in.h> include <arpa/inet.h> include <unistd.h> int main() { int sockfd int len struct sockaddr_in address int result char ch = A sockfd = socket(AF_INET, SOCK_STREAM, 0) address.sin_fami ...
https://www.eeworm.com/dl/631/471268.html
下载: 76
查看: 1036

uCOS 基于S3C2440移植的uC/OS-II最新源码(V2.83)

基于S3C2440移植的uC/OS-II最新源码(V2.83),以及Flash、LCD、Nand Flash驱动和Printf库。 使用ADS开发环境。
https://www.eeworm.com/dl/649/486972.html
下载: 134
查看: 1071

Linux/uClinux/Unix编程 两个链表的交集

两个链表的交集 #include<stdio.h> #include<stdlib.h> typedef struct Node{   int data;   struct  Node *next; }Node; void initpointer(struct Node *p){   p=NULL; } int  printlist(struct Node* head){   int flag=1;   head=head->next;   /*   因为标记1的地 ...
https://www.eeworm.com/dl/502540.html
下载: 1
查看: 46