码迷,mamicode.com
首页 >  
搜索关键字:visual stdio    ( 19543个结果
const修饰的指针类型
#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<string.h>#include<stdlib.h>#include<math.h>#include<time.h> int main01() { //常量 const int a=1 ...
分类:其他好文   时间:2020-08-27 17:13:47    阅读次数:62
几种排序算法
1 /* 2 线性表的排序算法 3 cza 4 2020/7/1 5 */ 6 #include<iostream> 7 #include<stdio.h> 8 int num[100]; 9 using namespace std; 10 11 int getMix(int left,int ri ...
分类:编程语言   时间:2020-08-27 17:06:03    阅读次数:59
C语言实现GPT头和分区表的读取
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #define GPT_HEADER_SIGNATURE 0x5 ...
分类:编程语言   时间:2020-08-26 18:34:39    阅读次数:57
c语言中将字符串转化为其他类型(sscanf与sprintf)
#在#include<stdio.h>中存在sscanf函数能将字符串中分成多个部分,分别转化为不同类型进行返回; ##sscanf(char *s,type,destination) //s为字符数组名,type为转化的种类(与scanf中的格式相同),destination为返回的目标 inst ...
分类:编程语言   时间:2020-08-24 16:39:46    阅读次数:59
选择法对输入的10个字符按ASCII码大小进行排序
//选择法对输入的10个字符按ASCII码大小进行排序 #include <stdio.h> #define N 10 int main(){ char a[N]; char t; int i,j; printf("请输入10个字符:\n"); for(i=0;i<N;i++){ scanf("%c ...
分类:编程语言   时间:2020-08-21 16:37:06    阅读次数:95
用循环链表实现约瑟夫环
约瑟夫问题: #include <stdio.h> #include <stdlib.h> typedef struct node{ int data; struct node * next; }node; //创建一个有n个结点的循环链表 node * initLink(int n){ node ...
分类:其他好文   时间:2020-08-20 18:19:30    阅读次数:49
c++中的struct关键字详解
struct关键字是用来定义一个新的类型,这个新类型里面可以包含各种其他类型,称为结构体。 #include <stdio.h> typedef struct { int a; int b; }Stu; Stu getStu(int x, int y) { Stu result; result.a ...
分类:编程语言   时间:2020-08-19 19:42:50    阅读次数:65
十进制与任意进制的互相转换
#include<iostream> #include<stdio.h> #include<string.h> #include<math.h> using namespace std; int fact(int n,int p) //十进制转为任意进制 (n是十进制数,p是要转化进制选择) { i ...
分类:其他好文   时间:2020-08-18 15:41:07    阅读次数:103
Microsoft.EntityFrameworkCore.Sql Server获取对应数据实体
visual studio 2017或2019新建一个项目 针对该项目鼠标右击,管理 NuGet程序 浏览中安装2个插件,标记红色的 安装之后打开程序包管理控制台 输入Scaffold-DbContext "Data Source=172.16.0.129;User ID=sa;Password=R ...
分类:数据库   时间:2020-08-17 17:53:14    阅读次数:192
Microsoft.EntityFrameworkCore.Sql Server获取对应数据实体
恢复内容开始 visual studio 2017或2019新建一个项目 针对该项目鼠标右击,管理 NuGet程序 浏览中安装2个插件,标记红色的 安装之后打开程序包管理控制台 输入Scaffold-DbContext "Data Source=172.16.0.129;User ID=sa;Pas ...
分类:数据库   时间:2020-08-15 23:59:16    阅读次数:129
19543条   上一页 1 ... 55 56 57 58 59 ... 1955 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!