-
分享一个很通用c语言的Makefile
...
2018-06-18 03:51:56
-
C语言 大小写字母转换
//凯鲁嘎吉 - 博客园http://www.cnblogs.com/kailugaji/ 方法1: 1 #includestdio.h 2 #includestdlib.h 3 // 大小写字母隔了32位 4 void main(){ 5 char ch,t; 6 printf( " Please input a letter:\n " ); 7 ch= getchar(); 8 t=getchar(); // 吸收回车键 9 10 while...
2018-06-18 03:51:54
-
Two Sum
leetcode的第一题,很简单。 题目如下 Given an array of integers, returnindicesof the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not use the same element twice. E...
2018-06-18 03:51:47
-
类C编译器 C代码实现
大三上学期做的一个小项目 类C编译器 源代码和测试文件地址https://github.com/zxt1995/ttbox.git 总体框架: 读入待编译文件-语义分析并转换为指令-按照指令进行栈操作-得出结果 拓展部分(个人负责内容 其他内容在代码中有注释) 完成内容 Do while 循环 Switch case 语...
2018-06-18 03:51:48
-
C语言 设一个函数process,调用它时,实现不同功能。
//凯鲁嘎吉 - 博客园http://www.cnblogs.com/kailugaji/ 输入a, b,第一次调用process找最大值,第二次调用process找最小值,第三次调用求和。 方法1: 1 #includestdio.h 2 // 求最大 3 int max( int x, int y){ 4 return xy? x:y; 5 } 6 // 求最小 7 int min( int x,...
2018-06-18 03:51:49
-
C语言 汉诺塔问题
//凯鲁嘎吉 - 博客园http://www.cnblogs.com/kailugaji/ 汉诺塔是由三根杆子A,B,C组成的。A杆上有n个(n1)穿孔圆盘,盘的尺寸由下到上依次变...
2018-06-18 03:51:43
-
1030. Travel Plan (30)
A traveler's map gives the distances between cities along the highways, together with the cost of each highway. Now you are supposed to write a program to help a traveler to decide the shortest path between his/her starting city and the destination....
2018-06-18 03:51:44
-
在Mac上使用vs-code快速上手c语言学习(入门文,老鸟退
...
2018-06-18 03:51:43
-
C语言 文件的读写操作
//凯鲁嘎吉 - 博客园http://www.cnblogs.com/kailugaji/ 1 #includestdio.h 2 #includestdlib.h 3 void main(){ 4 int a; 5 void write(); 6 void read(); 7 while ( 1 ){ 8 printf( " *****************\n " ); 9 printf( " 1.write\n " ); 10 printf( " 2.read\n " )...
2018-06-18 03:51:34
-
01-复杂度3 二分查找
这道题是一道函数题,题目给好相应接口让完成该子函数。给定的函数接口和结构体定义如下: #include stdio.h #include stdlib.h #define MAXSIZE 10 #define NotFound 0 typedef int ElementType;typedef int Position;typedef struct LNode * List; struct LNode { El...
2018-06-18 03:51:35
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash




