当前位置:网站首页>Standard C language learning summary 10
Standard C language learning summary 10
2022-07-28 21:51:00 【c7473168】
String related operation functions
int atoi(const char *nptr);
function : String rotation int type
long atol(const char *nptr);
function : String rotation long type
long long atoll(const char *nptr);
function : String rotation long long type
double atof(const char *nptr);
function : String rotation double type
char *strstr(const char *haystack, const char *needle);
function : stay haystack To find out whether there is a substring needle
Return value :needle stay haystack The first place in , Return if not found NULL
int sprintf(char *str,const char *format, ...);
function : Output various types of data to string str
Return value : Number of converted characters
int sscanf(const char *str, const char *format, ...);
function : from str Parse and read data into variables
Return value : The number of successfully resolved variables
void *memcpy(void *dest, const void *src, size_t n);
function : from src Location copy n Byte to dest The location of
function : call chaining
int memcmp(const void *s1, const void *s2, size_t n);
function : Compare the values of two pieces of memory , Compare by byte , Once the results are compared, there will be no comparison later
Return value : s1 == s2 0
s1 < s2 negative
s1 > s2 Positive numbers
边栏推荐
- MySQL 是如何归档数据的呢?
- SkiaSharp 之 WPF 自绘 拖曳小球(案例版)
- 基于复杂网络的大群体应急决策专家意见与信任信息融合方法及应用
- Uniapp progress bar customization
- How to skillfully use assertion + exception handling classes to make the code more concise! (glory Collection Edition)
- [geek challenge 2019] secret file & file contains common pseudo protocols and gestures
- RHCSA第一天
- 30. Learn highcharts label rotation histogram
- Coolpad voluntarily terminated the patent infringement lawsuit against Xiaomi
- Research on intangible cultural heritage image classification based on multimodal fusion
猜你喜欢

Log slimming operation: how to optimize from 5g to 1g! (glory Collection Edition)

PyQt5快速开发与实战 5.4 网页交互

LeetCode链表问题——面试题02.07.链表相交(一题一文学会链表)

Bus, protocol, specification, interface, data acquisition and control system in industrial communication field

大学荒废三年,大四自学7个月测试,找到了12K的工作

Pytorch学习记录(三):随机梯度下降、神经网络与全连接

凡尔赛天花板:“毕业两年月薪才35K,真是没出息啊~~”

HCIA综合实验(以华为eNSP为例)

Kubedm builds kubernetes cluster

比UUID更快更安全NanoID到底是怎么实现的?(荣耀典藏版)
随机推荐
Achieve waterfall effect
Several skills of API interface optimization
Huawei releases the first electric drive system driveone: charging for 10 minutes, endurance of 200km
技术选型Rust——事后分析
With the help of domestic chip manufacturers, the shipment of white brand TWS headphones has reached 600million in 2020
Week 6 Linear Models for Classification (Part B)
Priced at 1.15 billion yuan, 1206 pieces of equipment were injected into the joint venture! Sk Hynix grabs the mainland wafer foundry market!
Storage and steps of phospholipid coupled antibody / protein Kit
Meta opens the project aria pilot dataset and will develop real-time 3D maps in the future
Apple M1 processor details: performance and energy efficiency have doubled, and Intel Core i9 is no match!
System integration under microservice architecture
JVM 内存布局详解(荣耀典藏版)
小霸王被申请破产!公司成“老赖” ,法人被限制高消费
针对下一代Chromebook,联发科推出新款芯片组MT8192和MT8195
[Bluetooth Bluetooth development] VIII. Transmission layer of ble protocol
Pytorch学习记录(四):过拟合、卷积神经网络CNN
Discussion: if you want to land Devops, is it enough to only consider a good PAAS container platform?
Why on earth is it not recommended to use select *?
数据库读写分离目的是做什么[通俗易懂]
How to select and build the container cloud platform that hosts the key applications of the bank?