自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 合并两个有序数组

【代码】合并两个有序数组。

2024-05-15 16:37:35 103 1

原创 简单DOS命令

tree 查看目录下所有子目录 cls md 创建目录 copy echo打印输出到文件 echo>ok>ik.txt rm 删除目录 del 删除文件

2022-03-28 13:01:42 246

原创 学习记录哈

从今天开始吧!

2022-03-28 10:11:58 239

原创 number07 安装给git,和github的基本用法

Git和github的基本用法 首先下载安装 git for windows 这是一个git的windows系统的命令行版本 https://git-scm.com/downloads 然后再安装tortoise git 这个是这个工具的图形界面 地址是https://tortoisegit.org/download/ 注意选择合适的版本54位或32位 注意: 先安装git 再安装tortois...

2019-11-22 23:44:22 101

原创 number 06 查找数组中的元素.(折半查找)找到返回下标,找不到返回-1

//折半查找数组中的数字,存在返回下标,不存在返回-1 #define _CRT_SECURE_NO_WARNINGS 1 #include <stdio.h> #include <stdlib.h> int main() { int arr[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; int left = 0; int righ...

2019-11-21 23:40:22 300

原创 number 05

```c 在这里插入代码#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> #include <time.h> void Game(){ while(1){ //简易界面 printf("\n 猜数字游戏\n"); printf...

2019-11-20 23:48:47 61

原创 number 04

//在屏幕上输出有规律的图案 #include<stdio.h> int main( ) { int i = 0; int j = 0; for (i = 0; i <10; i++) { for (j = 0; j < 2 * i - 1; j++) { printf("*"); } printf("\n"); } for (i = 0; ...

2019-11-19 22:13:15 58

原创 number 03

```c #include<stdio.h> int main() { int a[5] = {1,2,3,4,5 }; int b[5] = {6,7,8,9,10}; //定义两个数组,并交换内容 int i; int temp; for (i = 0; i < 5; i++) { temp = a[i]; a[i] = b[i]; b[i] = t...

2019-11-19 22:07:49 74

原创 number 02

在这里插入代码//交换两个整型变量的值 #include <stdio.h>//用一个中间量 int a = 9; int b = 8; int c; int main() { c = b; b = a; a = c; printf("a=%d\nb=%d", a, b); system("pause"); } // //交换两个整型变量的值 #include <stdio...

2019-11-12 14:20:46 87

原创 number 01 C语言

在这里插入代码片 打印乘法口诀 #include<stdio.h> #include<stdlib.h> int main() { int m, n = 0;\\1到9先控制一行 for (m = 1; m <= 9; m++) { for (n = 1; n <= 9; n++) { printf("%d*%d=%d",m, n, m*n); ...

2019-11-11 21:53:28 249

空空如也

空空如也

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

TA关注的人

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