- 博客(7)
- 收藏
- 关注
原创 单链表操作元素为结构体,实现增加,删除,查找,修改。
单链表操作元素为结构体,实现增加,删除,查找,修改。源代码:/** * author:xwq* date:2021/9/28 21:21* description:单链表操作的元素为结构体,实现增加,删除,查找,修改。**/#include<stdio.h>#include<malloc.h>#include<string>#pragma warning(disable:4996)typedef struct Student {
2021-09-28 21:35:19
504
原创 单链表操作元素为整型的实现增加,删除,查找,修改。
单链表操作元素为整型,实现 增加,删除,查找,修改。源代码如下:/** author:xwq*date:2021/9/28 10:00* description:实现单链表的初始化,增删查改* 首节点为 0,首元节点(即一个元素的节点)为 1*/#include<stdio.h>#include<string>#include <malloc.h>#pragma warning(disable:4996)typedef struct LNod
2021-09-28 21:33:02
329
原创 c语言编程题:输入一个日期,计算出该日期是星期几?
标题c语言编程题:输入一个日期,计算出该日期是星期几?源代码如下:/** author:X* date:2021/9/17 18:49* description:输入一个日期,计算出该日期是星期几?*/#include <stdio.h>int leap(int year);int main(){ int year, month, day, i; int m[12] = { 31,28,31,30,31,30,31,31,30,31,30,31 };
2021-09-17 18:55:57
8933
2
原创 安卓开发自定义按钮形状
矩形圆角形状:<?xml version="1.0" encoding="utf-8"?><shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> <solid android:color="#43CD80"/> <corners android:radius="5dp"/></sh
2021-05-28 22:58:27
890
7
原创 Liunx常见命令
mkdir则是用于新建文件夹的Linux命令使用rmdir 文件夹名的方式来删除掉使用Linux新建文件,命令就是touch加文件名命令行访问网页wgetUbuntu系统自带,会将访问的首页下载到本地crulUbuntu系统自带,会显示出源码elinks需要下载 sudo apt-get install elinkslynxw3m...
2021-05-28 20:13:39
114
原创 Linux下如何修改Apache根目录
1.停止Apache服务: service httpd stop2.修改Apache的配置文件,默认在/etc/httpd/conf/httpd.confvim /etc/httpd/conf/httpd.conf3.如下图,Directory 为你的新路径1.重启apache服务器:systemctl restart httpd2.关闭apache服务器:service httpd stop3.开启:service httpd startvim取消着色只需要:以下两种都可以::noh:s
2021-05-28 20:08:49
716
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人