前端开发
编程语言
数据库
服务器
系统/运维
网络/安全
移动开发
CMS教程
网站运营
保存到桌面
关于我们
收藏本站
素材狗

素材狗

  • 首页
  • 学习HTML/CSS
  • 学习PHP
  • 学习JAVA
  • 学习CMS
  • 编程问答
  • 实例代码
  • 学习Python学习Go学习Ruby学习C学习C++学习Perl学习Lua学习Rust学习Scala学习VB
  • 手机随时阅读

编程教程

前端开发

编程语言

数据库

服务器

系统/运维

网络/安全

移动开发

CMS教程

网站运营

前端问题

php问题

Java问题

Python问题

C/C++问题

C#/.NET问题

移动开发问题

数据库问题

07 12
C++预定义的宏

C++预定义的宏

// #include iostreamusing namespace std;int main () {cout Value of __LINE__ : __LINE__ endl;
发布于104天前
0 阅读
07 12
C++变量地址

C++变量地址

#include iostreamusing namespace std;int main () {intvar1;char var2[10];cout Address of var1 variable: ;
发布于104天前
0 阅读
07 12
C++默认值

C++默认值

#include iostreamusing namespace std;int sum(int a, int b = 20) {int result;result = a + b;return (result);
发布于104天前
0 阅读
07 12
C语言计算元音

C语言计算元音

#include stdio.hint main() {char s[] = TajMahal;// String Givenint i = 0;int vowels = 0;// Vowels counter
发布于104天前
0 阅读
07 12
C语言自上而下的三角形

C语言自上而下的三角形

#include stdio.hint main() {int n,i,j;n = 5;for(i = 0; i n; i++) {for(j=0; ji; j++)printf();
发布于104天前
0 阅读
07 12
C语言帕斯卡三角程序

C语言帕斯卡三角程序

#include stdio.hint factorial(int n) {int f;for(f = 1; n 1; n--)f *= n;return f;}int ncr(int n,int r) {
发布于104天前
0 阅读
07 12
C语言打印数组

C语言打印数组

// #include stdio.hint main() {int array[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 0};int loop;for(loop = 0; loop 10; loop++)
发布于104天前
0 阅读
07 12
C语言反向复制数组

C语言反向复制数组

#include stdio.hint main() {int original[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 0};int copied[10];
发布于104天前
0 阅读
07 12
C语言连接数组

C语言连接数组

#include stdio.hint main() {int array[10];int even[5] = {0, 2, 4, 6, 8};int odd[5]= {1, 3, 5, 7, 9};
发布于104天前
0 阅读
07 12
C语言查找字符串长度(非函数)

C语言查找字符串长度(非函数)

#include stdio.hint main() {char s1[] = TajMahal;int i = 0;while(s1[i] != \\0) {
发布于104天前
0 阅读
07 12
C语言计算字符

C语言计算字符

#include stdio.hint main() {char s[] = TajMahal;// String Givenchar ch = a;// Character to count
发布于104天前
0 阅读
07 12
C语言写入文件

C语言写入文件

// C语言写入文件#include stdio.hint main() {FILE *fp;fp = fopen(/tmp/test.txt, w+);
发布于104天前
0 阅读
07 12
C语言反转一行字符串

C语言反转一行字符串

#include stdio.h#include string.hint string_length(char s[]) {int i = 0;while(s[i]!=\\0)
发布于104天前
0 阅读
07 12
C语言将数组复制到另一个数组

C语言将数组复制到另一个数组

#include stdio.hint main() {int original[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 0};int copied[10];
发布于104天前
0 阅读
07 12
C语言判断闰年程序

C语言判断闰年程序

// #include stdio.hint main() {int year;year = 2016;if (((year % 4 == 0) (year % 100!= 0)) || (year%400 == 0))
发布于104天前
0 阅读
07 12
C语言判断是正数还是负数

C语言判断是正数还是负数

// #include stdio.hint main() {int number = -2;if (number = 0)printf(%d is positive\\n, number);
发布于104天前
0 阅读
07 12
C语言判断是偶数或奇数的程序

C语言判断是偶数或奇数的程序

#include stdio.hint main() {int even = 24;int odd= 31;if (even % 2 == 0)printf(%d is even\\n, even);
发布于104天前
0 阅读
07 12
C语言乘法运算

C语言乘法运算

#include stdio.hint main() {int op1, op2, mul;// variable declarationop1 = 5;// variable definition
发布于104天前
0 阅读
07 12
C语言减法运算

C语言减法运算

#include stdio.hint main() {int op1, op2, sub;// variable declarationop1 = 5;// variable definition
发布于104天前
0 阅读
07 12
C语言除法运算

C语言除法运算

#include stdio.hint main() {int op1, op2, div;// variable declarationop1 = 6;// variable definition
发布于104天前
0 阅读
首页上一页 1 2 3 4 5 6 7 8 9 10 11 下一页末页 共 34页679条

学习编程

Python教程 开始学习
学习Python

Python不仅是一种计算机程序设计语言、还是一种面向对象、解释型的计算机程序语言,汇集整理Pytho......

Go教程 开始学习
学习Go

Go(又称 Golang)是 Google 的 Robert Griesemer,Rob Pike 及 Ken Thompson 开发的一种静态强类型、编译型语言。......

Ruby教程 开始学习
学习Ruby

Ruby是一种纯粹的面向对象编程语言。它由日本的松本行弘(まつもとゆきひろ/Yukihiro Matsumoto)创建于......

C教程 开始学习
学习C

C语言是一门面向过程的、抽象化的通用程序设计语言,广泛应用于底层开发。C语言能以简易的方式编......

最新发布

  • 网站图片丢失或者获取失败时显示默认图片的办法 4小时前
  • PHP正则表达式匹配字符方法汇总 4小时前
  • Nib文件是什么?Nib文件打开方法 5小时前
  • iOS、Mac OS X系统中编程实现汉字转拼音的方法(超级简单) 5小时前
  • iOS7 毛玻璃特效代码 5小时前

图文推荐

文章热榜

1 说明指定字段宽度时scanf()的工作原理。

#include stdio.hint main(void){char name1[11], name2[11];int count;printf(Please enter 2 names.\\n);

2 使用函数验证输入

#include stdio.h#include stdbool.hlong get_long(void);bool isWrongInput(long begin, long end,long low, long high);

3 何时在scanf使用&

#include stdio.hint main(void){int age;float assets;char pet[30];// stringprintf(Enter your age, assets, and favorite pet.\\n);

4 scanf跳过前两个输入整数

#include stdio.hint main(void){int n;printf(Please enter three integers:\\n);scanf(%*d %*d %d, n);

5 使用基本数据类型,并输出它们的值,int,floa

#include stdio.hint main(void){intintegerVar = 100;floatfloatingVar = 123.79;doubledoubleVar = 1.23e+11;

关于我们

© 2023 素材狗 版权所有并保留所有权