当前位置:网站首页>July Huaqing learning-1
July Huaqing learning-1
2022-07-05 12:00:00 【huashuideyu】
C Language Output input 
for example
scanf(“%2d,%*3d,%2d”)
There are only two characters before and after , And the middle three are gone
a = " "
scanf(“%s”,a)
print(“%d”,a)
So that is 0 Corresponding 32
Spaces are valid characters in character types
Remove garbage characters
#include <stdio.h>
int main(int argc, char *argv[])
{
int a;
char x;
printf(“>”);
scanf(“%d”,&a);
//getchar();
scanf(" %c",&x);
pr intf(“%d :%c : %d\n”,a ,x,x);
return 0;

scanf Input cannot use spaces ,gets() You can use spaces ;
puts() Can wrap lines automatically

man sqrt
NAME
sqrt, sqrtf, sqrtl - square root function
SYNOPSIS
#include <math.h>
double sqrt(double x);
float sqrtf(float x);
long double sqrtl(long double x);
Link with -lm.

边栏推荐
- [untitled]
- yolov5目标检测神经网络——损失函数计算原理
- 【L1、L2、smooth L1三类损失函数】
- Solve readobjectstart: expect {or N, but found n, error found in 1 byte of
- POJ 3176 cow bowling (DP | memory search)
- 谜语1
- Error modulenotfounderror: no module named 'cv2 aruco‘
- How can China Africa diamond accessory stones be inlaid to be safe and beautiful?
- 13.(地图数据篇)百度坐标(BD09)、国测局坐标(火星坐标,GCJ02)、和WGS84坐标系之间的转换
- [configuration method of win11 multi-user simultaneous login remote desktop]
猜你喜欢

Pytorch weight decay and dropout
调查显示传统数据安全工具在60%情况下无法抵御勒索软件攻击
![[untitled]](/img/56/6a9a4bcab6503872942fff7a365def.jpg)
[untitled]

Mmclassification training custom data
![[yolov5.yaml parsing]](/img/ae/934f69206190848ec3da10edbeb59a.png)
[yolov5.yaml parsing]

Yolov 5 Target Detection Neural Network - Loss Function Calculation Principle

Yolov5 target detection neural network -- calculation principle of loss function

pytorch-softmax回归

Principle of redis cluster mode

HiEngine:可媲美本地的云原生内存数据库引擎
随机推荐
[pytorch pre training model modification, addition and deletion of specific layers]
Network five whip
Liunx prohibit Ping explain the different usage of traceroute
Shell script file traversal STR to array string splicing
【TFLite, ONNX, CoreML, TensorRT Export】
程序员内卷和保持行业竞争力
Codeforces Round #804 (Div. 2)
【load dataset】
ACID事务理论
Error modulenotfounderror: no module named 'cv2 aruco‘
Yolov5 target detection neural network -- calculation principle of loss function
Redis集群的重定向
pytorch-权重衰退(weight decay)和丢弃法(dropout)
谜语1
Web API configuration custom route
16 channel water lamp experiment based on Proteus (assembly language)
The most comprehensive new database in the whole network, multidimensional table platform inventory note, flowus, airtable, seatable, Vig table Vika, flying Book Multidimensional table, heipayun, Zhix
Programmers are involved and maintain industry competitiveness
Recyclerview paging slide
Which domestic cloud management platform manufacturer is good in 2022? Why?