- 博客(5)
- 资源 (8)
- 收藏
- 关注
原创 按照ASCIIl码 对元素进行从小到大排序
采用冒泡排序 // 冒泡排序.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include #include int main(void) { char shuru[1024]; char *zifu; zifu=shuru; char temp; int len=0,i,j; scanf("%s",zifu);
2016-05-31 22:01:08 765
原创 C语言 链表相关 操作
今天对单链表的相关操作做了学习,掌握了链表操作的基本知识,做一个记录: // 链表操作.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h"//预编译头 没关系 #include #include #include typedef struct node { int element; struct node * next; }Node; Node *
2016-05-31 21:10:18 304
原创 字符串最后一个单词长度
#include//gets printf #include//strlen #include//system(“pause”) int main(void)//改进 避免使用void main() { char shuru[200]; char * a;//可以求长度的字符串输入 int len=0,i,index=-1; a=shuru; gets(a);//原来使用scanf不能得到空格
2016-05-30 23:22:13 189
原创 字符串最后一个单词的长度
输入 hello world 输出 5 以空格为单词分隔符 最大128个输入 #include #include #include int main(void) { char shuru[200]; char * a; int len=0,i,index=-1; a=shuru; gets(a); len=strlen(a); if(len==0) return 0
2016-05-30 23:14:28 227
ThoughtWorks林帆-白话Kubernetes网络
2018-01-25
腾讯云容器服务基于kubernetes的应用编排实践-final
2018-01-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人