当前位置:网站首页>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
边栏推荐
- 网格数据生成函数meshgrid
- Record some small requirements in the form of cases
- [英雄星球七月集训LeetCode解题日报] 第28日 动态规划
- PyQt5快速开发与实战 5.4 网页交互
- How to understand data mesh
- 8、 QoS queue scheduling and message discarding
- 工业通讯领域的总线、协议、规范、接口、数据采集与控制系统
- Bully is filed for bankruptcy! The company has become a "Lao Lai", and the legal person is restricted from high consumption
- 中国科学家首次用DNA构造卷积人工神经网络,可完成32类分子模式识别任务,或用于生物标志物信号分析和诊断
- Adventures of little mouse: behind the scenes gags of moss 2
猜你喜欢

Meeting notice of OA project (Query & whether to attend the meeting & feedback details)

High salary in the workplace | "intermediate and advanced test" interview questions

比UUID更快更安全NanoID到底是怎么实现的?(荣耀典藏版)

Quii Cordova plugin telerik imagepicker plug-in multi image upload out of sequence

The ref value ‘xxx‘ will likely have changed by the time this effect function runs. If this ref......

JVM 内存布局详解(荣耀典藏版)

LeetCode链表问题——142.环形链表II(一题一文学会链表)

顺序表的实现
![[geek challenge 2019] secret file & file contains common pseudo protocols and gestures](/img/aa/a169cdd8cc6cdfda6d2777511b4dd2.png)
[geek challenge 2019] secret file & file contains common pseudo protocols and gestures

Nano gold coupled antibody / protein Kit (20nm, 1mg/100 μ g/500 μ G coupling amount) preparation
随机推荐
标准C语言学习总结10
八、QOS队列调度与报文丢弃
Achieve waterfall effect
[英雄星球七月集训LeetCode解题日报] 第28日 动态规划
Discussion: if you want to land Devops, is it enough to only consider a good PAAS container platform?
微信小程序开发入门,自己开发小程序
openEuler Embedded SIG | 分布式软总线
An end-to-end aspect level emotion analysis method for government app reviews based on brnn
网格数据生成函数meshgrid
Invalid prompt object name in SQL Server
Kubedm builds kubernetes cluster
Summary of 29 typical problems in Devops planning and construction of securities enterprises based on containerized PAAS platform
【Bluetooth蓝牙开发】八、BLE协议之传输层
基于BRNN的政务APP评论端到端方面级情感分析方法
How to understand data mesh
[Bluetooth Bluetooth development] VIII. Transmission layer of ble protocol
MySQL 是如何归档数据的呢?
入行4年,跳槽2次,我摸透了软件测试这一行~
Layout the 6G track in advance! Ziguang zhanrui released the white paper "6G unbounded AI"
ST法国三座工厂大罢工,芯片缺货情况或将更加严重!