搜索资源列表
stm32f4xx_uart
- stm32f4xx 串口1打印源代码,使用115200波特率。-stm32f4xx usart1 Init and printf function with 115200 bit
stm32_usart
- stm32_usart的源码程序,初始化以及printf和scanf的应用-stm32_usart the source program, initialization, and application of the printf and scanf
1_day.tar
- printf函数的应用,和用法的注意事项,参数的传递规则。-The printf function s application, and usage of the matters needing attention, parameter transfer rules.
BIANCHENG
- 有n个人围成一圈,顺序排号。 从第一个人开始报数(从1到3报数), 凡报到3的人退出圈子, 问最后留下的是原来第几号的那位? 输入描述:输入n 输出描述:留下来的最后一个人的号码。 输入样例:10 输出描述:4-#include <stdio.h> void main() { int a[100] int n,i,m=0,temp=0 scanf(" d",&n) for(i=1 i<=n i++)
STM32PMPU6055
- STM32使用模拟I2C读写陀螺仪MPU6055测试程序 程序功能: STM32读取陀螺仪MPU6055的数据,并利用printf函数将数据向串口1打印-STM32 use simulation the I2C reading the gyroscope MPU6055 test program program features: STM32 read the gyroscope MPU6055 the data and use the printf function to print
asm
- 用汇编语言实现插入查找,联合c中的printf()调用等方面都有涉及,希望对汇编的初学者有帮助!-Using assembly language to achieve insert search, combined with C in printf ( ) call etc are involved, I hope to help beginners compilation!
UART2Printf
- 神州IV stm32f107VC 串口打印程序-stm32f107 printf by usart
Automatically-printf-
- STM32程序 自动电脑打印小数,整数等变量值。在实际调试程序中非常简明的可以看到一个变量的变化。从而给程序的调试工作带来极大的便利-The program automatically STM32 computer print a decimal integer variable values. Very concise in the actual debugger can see the change of a variable. Bring great convenience to the
appletlib
- We are trying to not use printf, this benefits the case when selected applets are really simple for Linux.
joseph
- 约瑟夫环:由约瑟夫环的游戏规则可知,在游戏中,我们需要输入的是总人数n值、一开始选的上限值m和每个人手中所持的密码值cipher。这些数都应该是正整数,且n小于等于30,若输入的是小于等于0的数,应该提醒输入有误。用scanf()函数实现输入操作,空格、回车或者Tab键位输入结束标志。 在程序根据输入的数据运行之后,按顺序输出出列人的编号num,用printf()函数实现。 程序执行的命令包括:①构造结构体;②链表动态内存申请;③逐个插入链表结点并储存结点内容;④形成循环链表;⑤删除结点
exe
- 求三角形面积 判断三角形的种类以计算面积-#include<stdio.h> #include<math.h> main() { double a,b,c,p,S,i printf("Input a,b,c\n") scanf(" lf lf lf",&a,&b,&c) if(a+b>c&&a+c>b&&b+c>a){ p=(a+b+c)/2 S=sqrt((p-a)*(p-b)*(p-c)
triangular
- making triangular number with c++ using integer #include<stdio.h> int triangular(int a) main() { int x printf("menghitung triangular bilangan\n") printf("masukkan bilangan x= ") scanf(" d",&x) triangular(x)
216
- 求任意的一个m×m矩阵的最大数及其所在的行列数,m(2<=m<=20)及矩阵元素从键盘输入(只考虑int型)。编程可用素材:printf("Please input m: ")、printf("\nPlease input array:\n")、printf("\nmax=…,i=…,j=…\n"…。 程序的运行效果应类似地如图1所示,图1中的5和 1 45 67 235 464 35 6 89 32342 8 347 9346 47 9
415
- 设有10名歌手(编号为1-10)参加歌咏比赛,另有6名评委打分,每位歌手的得分从键盘输入:先提示“Please input singer s score: ”,再依次输入第1个歌手的6位评委打分(10分制,分数为整型,分数之间使用空格分隔),第2个歌手的6位评委打分...以此类推。计算出每位歌手的最终得分(扣除一个最高分和一个最低分后的平均分,最终得分保留2位小数),最后按最终得分由高到低的顺序输出每位歌手的编号及最终得分。 注意:变量数据类型的选择应适当,在保证满足设计要求精度的情况下
printf
- Formatted output to strings, using POSIX/XSI format strings with positions.
printf-parse
- Formatted output to strings.
output
- 影printf函数简单输出一句话hello world-simple output
UART0_Stdio1
- 单片机c8051f020的串口通讯例子,本例用到printf函数讲发送的字符串送到串口调试助手上显示出来-C8051f020 microcontroller serial communication example, the cases used in the printf function sends the string to speak serial debugging on display
xiangmu1
- 判断三边是否能构成三角形 如果是的话并求周长面积-#include <stdio.h> #include <math.h> void main() { int a,b,c double p,s printf("请输入三角形的三边长:") scanf(" d, d, d",&a,&b,&c) if ((a+b>c&&a-b<c)==1) { p=(a+b+c)/2 s=sqrt(p*(p-
MiniCRT
- 小型C语言运行库实现(printf,exit)-Small C language runtime implementation (printf, exit)