- 博客(21)
- 资源 (8)
- 收藏
- 关注
原创 ***没有规则可以创建“XXX”需要的目标“XXX”问题的解决方案
在第4季 上学期 专题2-U-Boot新手入门中,1,在Linux中解压uboot_tq2440.tar.gz2,tar xvzf uboot_tq2440.tar.gz3,进入 uboot_tq2440/ 4,make TQ2440_config (对TQ2440开发板进行配置)5,make ARCH=arm CROSS_COMPILE=arm-linux- (进行编
2015-06-29 19:44:47 20557
转载 时间编程--gettimeofday(获取高精度时间)
#include <stdio.h>#include <sys/time.h>/***********************name:gettimeofday.c*author:QG*time:2015-05-13*description:***********************/int main(){ //struct timeval *tv; struct
2015-06-21 19:19:56 883
转载 时间编程--asctime(以字符串方式显示时间)
#include <stdio.h>#include <time.h>/*************************name:asctime.c*author:QG*time:2015-05-13*description:****************************/int main(){ struct tm *c_tm; time_t c_time
2015-06-21 19:18:54 480
转载 时间编程 --localtime(获取本地时间)
#include <stdio.h>#include <time.h>/**************************name:localtime.c*author:QG*time:2015-05-13*description:**************************/int main(){ struct tm *c_tm; time_t c_time
2015-06-21 19:17:56 724
转载 时间编程--获取格林威治时间 gmtime
#include <stdio.h>#include <time.h>/***********************name:gmtime.c*author:QG*time:2015-05-12*description:**********************/int main(){ time_t c_time; struct tm *c_tm; c_t
2015-06-21 19:16:41 1131
转载 时间编程--time
#include <stdio.h>#include <time.h>/************************name:time.c*author:QG*time:2015-05-12*description:***************************/int main(){ time_t c_time; c_time = time(NULL);
2015-06-21 19:15:53 320
转载 库函数调用 --综合实例(文件copy)
#include <stdio.h>/******************name:file_cp.c*author:QG*time:2015-05-12*description:********************/int main(int arge,char **argv){ FILE *fp_in; FILE *fp_out; char buf[1024
2015-06-21 19:13:48 472
转载 库函数调用 5--fseek
#include <stdio.h>/****************************name:fseek.c*author:QG*time :2015-05-12*description:****************************/int main(){ FILE *fp_in; char *in_file_name = "./123.txt";
2015-06-21 19:12:53 328
转载 库函数调用 4--fwrite
#include <stdio.h>/*************************name:fwrite.c*author:QG*time:2015-05-12*description:***************************/int main(){ FILE *fp_in; FILE *fp_out; char *in_file_name =
2015-06-21 19:12:06 379
转载 库函数调用 3--fread
#include <stdio.h>/********************name:fread.c*author:QG*time:2015-05-12*description:read a item from a file.********************/int main(){ FILE *fp; char c_buf[11]; int a = 1
2015-06-21 19:11:21 415
转载 库函数调用 2--fclose
#include <stdio.h>/************************name:fclose.c*author:QG*time:2015-05-12*description:************************/int main(){ FILE *fp; char *file_name = "./123.txt"; int a
2015-06-21 19:10:31 347
转载 库函数调用 1--fopen
#include <stdio.h>/********************name:fopen.c*author:QG*time :2015-05-12*description:try to open a file for reading and writing,the file will be created if it does not exist. **************
2015-06-21 19:09:53 383
转载 系统调用 8--综合实例(txt_to_txt)
#include <stdio.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <unistd.h>/************************file:txt_to_txt.c*author:QG*time:2015-05-11*description:read datas fro
2015-06-21 19:08:22 337
转载 系统调用 7--综合实例1(文件复制)
#include <stdio.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <unistd.h>/*********************************file:file_cp.c*author:QG*time:2015-05-11*description:******
2015-06-21 19:07:20 491
转载 系统调用 6--lseek
#include <stdio.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <unistd.h>/**********************file: lseek.c*author:QG*time:2015-05-11*description:*******************
2015-06-21 19:04:54 441
转载 系统调用 5--write
#include <stdio.h>#include <sys/stat.h>#include <sys/types.h>#include <fcntl.h>#include <unistd.h>/**************************file:write.c*author:QG*time:2015-05-11*description:***************
2015-06-21 19:04:03 502
转载 系统调用 4--read
#include <stdio.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <unistd.h>/***********************************file:read.c*author:QG*time:2015-05-10*description:********
2015-06-21 19:02:51 425
转载 系统调用3--close
#include #include #include #include #include /*******************************file:close.c*author:QG*time:2015-05-10*note:********************************/int main(){ char *pt = ".
2015-06-21 18:59:32 359
转载 系统调用2 --creat
#include #include #include #include /************************************fie:creat.c*author:QG*time:2015-05-10*note:exercise the function of creat***********************************/int
2015-06-21 18:58:36 493
转载 系统调用1--open函数的使用
#include #include #include #include /************************************fie:open.c*author:QG*time:2015-05-10*note:exercise the function of open***********************************/void main(){ //char
2015-06-21 18:55:34 396
原创 试题1
Given an array of integers, find out whether there are two distinct indices i and j in the array such that the difference between nums[i] andnums[j] is at most t and the difference between i and
2015-06-01 18:02:42 396
the java programming language fourth editionArnoldGoslingHolmes06
2014-08-30
ascii-码表
2014-08-30
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人