自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(20)
  • 收藏
  • 关注

原创 算法基础之归并排序

文章以归并排序为题,向读者介绍了其整体思路、时间复杂度分析、核心代码算法思路,并提供了完整实现代码(C++ & Java)。

2022-12-27 23:09:25 108 2

原创 如何在Windows 上配置Flutter

如何在Windows 上配置Flutter 本文概述: 文章详细记录了在Win 10 上安装Flutter 的全过程;

2022-12-27 23:02:36 246

原创 为什么选择Flutter 进行跨平台开发

文章以跨平台开发为背景,详细分析并探讨了跨平台开发技术的发展衍变过程,并在文中对Flutter 框架与Dart 编程语言作基本介绍。

2022-12-27 22:58:53 424

原创 使用Typora 导出 .doc 文档(windows 10)

使用Typora 导出 .doc 文档(windows 10)下载 pandoc 网站链接:https://github.com/jgm/pandoc/releases/tag/2.14.1解压到指定文件目录添加环境变量第一步:win+q(搜索环境变量)第二步:编辑环境变量第三步:新建环境变量(新建好后,依次点确定,不要点×)重启Typora测试功能:测试成功...

2021-08-18 02:44:21 393

原创 sqrt函数使用

python语言内置函数及其作用大全 ——(2)sqrt函数及其使用原创夕明_雾未散 最后发布于2019-12-01 19:16:45 阅读数 62 收藏展开sqrt() 方法返回数字x的平方根。其基本语法为:import mathmath.sqrt( x )注:sqrt()是不能直接访问的,需要导入 math 模块,通过静态对象调用该方法实例:import mathpri...

2020-02-28 11:21:42 3485

原创 文件基本基本操作

#include <stdio.h>#include <stdlib.h>#define CRT_SECURE_NO_WARNINGSint main(){ FILE* FP;//建立文件指针 char str[80];//定义字符数组 int i = 0;//数组下标 printf("Entering a string please:\n");//增加交互...

2019-12-26 17:24:37 166 1

原创 对sqrt 函数的探究

/*#inlude <stdio.h>#include <math.h>int main(){ int x=0, y=0, z=0; for (int i = 1; i < 10001; ++i) { x = sqrt(i+100); y = sqrt(i + 168); if (x * x == i + 100 && y *...

2019-12-26 17:23:46 172

原创 时间计时器(这是第几天哈)

#include <stdio.h>int main(){ int day = 0, month = 0, year = 0; int sum = 0; printf("请输入需要计算的年、月、日\n"); scanf_s("%d%d%d", &year, &month, &day); switch (month) { case 1:sum =...

2019-12-26 17:18:27 176

原创 选择排序实现字符数组排序

#include <stdio.h>#include <string.h>#define N 10#define SIZE 100int main(){ char array[N][SIZE];//字符数组,因为有多行字符 for (int i = 0; i < N; ++i)//先进行一遍输入 { gets_s(array[i],100);//单...

2019-12-26 17:16:43 357

原创 矩阵转置

#include <stdio.h>#define N 100int main(){ int hang = 0, lie = 0; printf("请输入原矩阵的行数与列数(以空格进行分隔)\n"); scanf_s("%d%d", &hang, &lie); int juzhen[N][N]; for (int i = 0; i < hang; ...

2019-12-26 17:15:49 235

原创 学生系统LOW版

#include <stdio.h>#include <stdlib.h>#define num 30#define NO 12#define NAMELEN 30struct student{ char no[NO + 1]; char namelen[NAMELEN + 1]; int age; float score;};struct stud...

2019-12-26 17:14:52 124

原创 文件基本操作

#include <stdio.h>#include <stdlib.h>int main(){ FILE* fp; char ch; int counter1 = 0, counter2 = 0; if ((fp = fopen("file.c", "r")) == NULL) { printf("file open error\n"); exi...

2019-12-26 17:14:11 68

原创 自定义函数实现简单排列组合数的计算(未完成)

#include "stdio.h"int jisuan(int i);int main(){ printf("这是一个用于计算排列或者组合的函数,请认真阅读下列使用说明\n例如,需计算A53,则输入A53,同理C53\n"); char array[5]; gets_s(array, 5); if (array[0] == 'A') { puts(array); print...

2019-12-26 17:13:23 914

原创 单向链表

/*在结构体中不能进行嵌套的定义,不合法注意在定义结构体的定义时注意,结构题=体的大小是否确定例如struct temp{ int data; struct temp pt;无法确定pt的大小也就无法完成定义,对于结构体来说大小很重要 };错,不合法。*//*struct temp{ int data; struct temp* pt;//在这里面虽然pt指向了结构...

2019-12-09 02:40:34 69

原创 动态数组学习心得

#include "stdio.h"#include <__msvc_all_public_headers.hpp>typedef struct{ int* array; int length;}Darray;Darray create(int n){ Darray a;//定义了结构类型Darray下的一个结构 a int i; a.array = (int*...

2019-12-09 01:44:57 252

原创 指针在多维数组中的使用

在二维数组中行指针与列指针的定义以及初始化方式看待数据储存方式的不同第一:行指针:相关背景:对于一个数组例如5X4的数组来说可以看作是五个一维数组,每一个数组又是一个一维数组行指针 例如int (*P)[4]就是一个行指针用数组名给他初始化p=a;在用的时候,,,a[i][j]就是*(*(p+i)+j)因为p是一个行指针,所以p+i就是初始行加上目标元素在行上的偏移量...

2019-11-30 00:51:14 152

原创 关于C语言中string类的探究

#include "stdio.h"#include <string>int main(){ char s1[4] = "abc"; //这是对第一个函数进行探究的printf("原来字符串s1的长度是%d\n", sizeof(s1)); char s2[4] = "abc"; printf("原来的str1为%s\n", s1); printf("原来的str2为%...

2019-11-29 17:30:23 112

原创 简单的进制转换

#include <iostream>#include "stdio.h"using namespace std;int main(){ long num1, num2, D,sum; cin>>num1>>num2>>D; //cin >> num1 >> num2 >> D; sum = num...

2019-11-28 20:42:00 93

原创 搜索算法体验

#include <iostream>#include <cstdio>using namespace std;const int z = 10000;int N;//定义一个全局变量,用来存放待输入的数字int a[z] = { 0 };//看有多少个坑bool b[z] = { 0 };//判断每个坑的状态void dfs(int c, int num)...

2019-11-28 01:44:34 79

原创 关于结构体的使用

#include <iostream>#include <cstring> using namespace std; // 声明一个结构体类型 Books struct Books{ char title[50]; char author[50]; char subject[100]; int book_id;}; in...

2019-11-21 20:08:30 60

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除