码迷,mamicode.com
首页 >  
搜索关键字:visual stdio    ( 19543个结果
PAT乙级1008 数组元素循环右移问题 (20分)
#include<stdio.h> int main(){ int n,k; scanf("%d %d",&n,&k); k = k%n; int a[1000]; if(n == 1){ int t; scanf("%d",&t); printf("%d",t); } else{ int rear ...
分类:编程语言   时间:2020-07-19 16:10:34    阅读次数:53
PAT乙级1009 说反话 (20分)
1 #include<stdio.h> 2 int main(){ 3 int num = 0; 4 char s[100][100]; 5 while(scanf("%s",s[num])!=EOF){ 6 num++; 7 } 8 for(int i = num-1;i>=0;i--){ 9 p ...
分类:其他好文   时间:2020-07-19 16:02:34    阅读次数:83
C语言判断字符如果是大写则转换为小写
#include<stdio.h> int main() { char ch, again; do { printf("输入一个字符!"); ch = getchar(); if (ch >= 'A' && ch <= 'Z') { printf("%c", ch + 32); } getchar( ...
分类:编程语言   时间:2020-07-19 15:52:37    阅读次数:46
visual studio 2019从mysql数据库表通过命令自动生成实体类模型
visualstudio2019对sqlserver的支持是很好,对mysql的话就有很多的坑了,主要是版本的冲突问题,无数次失败后记录下一次成功的2大关键步骤:一、通过Nuget安装依赖包,命令如下:Install-packagemysql.data.entity-Version6.8.8Install-packagemysql.data-Version6.10.9Install-package
分类:数据库   时间:2020-07-19 11:28:47    阅读次数:276
visua studio 自定义路径宏
很好奇 touchgfx 的 visual stdio 工程路径中符号 $(TouchGFXReleasePath),经查这就是一个宏替换 自定义宏 ...
分类:其他好文   时间:2020-07-18 22:58:46    阅读次数:106
c---数据类型强制转换
#include <stdio.h> int main() { int a=0,b=320; short s=0; //数据强制转换的格式:(类型)值 a=(int)102.3; //把浮点数转换成int printf("%d\n",a); s=(short)b; //把int转换成short re ...
分类:其他好文   时间:2020-07-18 22:49:23    阅读次数:77
hash-白兔的字符串
https://ac.nowcoder.com/acm/problem/15253太简单了,直接上代码吧! #include <iostream> #include <cstring> #include <cmath> #include <stdio.h> #include <cstdlib> #i ...
分类:其他好文   时间:2020-07-18 13:48:13    阅读次数:50
c-for循环
#include <stdio.h> int main() { int n=0; for (n=0;n<10;n++){ printf("%d",n); } return 0; } ...
分类:其他好文   时间:2020-07-18 11:36:49    阅读次数:60
【0002】斐波那契数列
/* 斐波那契数列:f(n)=f(n-1)+f(n-2);其中f(1)=f(2)=1;*/ #include <stdio.h> #include <stdlib.h> /* 斐波那契数列:f(n)=f(n-1)+f(n-2);其中f(1)=f(2)=1; */ int Fibonacci(int ...
分类:其他好文   时间:2020-07-18 11:31:31    阅读次数:67
web前端程序员代码编辑器推荐
Visual Studio Code Visual Studio Code中文版是微软推出的带 GUI 的代码编辑器,软件功能非常强大,界面简洁明晰、操作方便快捷,设计得很人性化。软件主要改进了文档视图,完善了对 Markdown的支持,新增php语法高亮。 Atom ATOM,是一个现代的文本编辑 ...
分类:Web程序   时间:2020-07-18 00:33:57    阅读次数:114
19543条   上一页 1 ... 66 67 68 69 70 ... 1955 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!