当前位置:网站首页>C language a little bit (may increase in the future)
C language a little bit (may increase in the future)
2022-07-01 02:30:00 【Xingchen Beitian】
C Develop learning records
Import standard library , Write an entry
#include <stdio.h> // Import standard library
// Entry function ( Beginner fixed format )
int main(){
return 0;
}
Use of symbols
1. % Reference data type ( Abbreviation )
%d : double ------ Integer type
%s : String ------ String type
%c : char ------ Character
%f : float ----- floating-point
\n : Line break
2. The pointer ( Pointing to the address --- And scanf Continuous use )
& Reference variable address
Common functions
printf(" type ", Variable );
scanf(" type ", & Reference data );
Method definition ( Output Hello)
Bear in mind C The method needs to be in mian Write before method !!!
void sayHello(){
printf("%s", "Hello,Function");
}
边栏推荐
- Viewing JVM parameters
- FL studio20.9 fruit software advanced Chinese edition electronic music arrangement
- Xception学习笔记
- SWT / anr issues - ams/wms
- How to realize the scene linkage of intelligent lock, lamp and intelligent curtain motor in zhiting?
- RestCloud ETL实践之无标识位实现增量数据同步
- How do I open an account on my mobile phone? Also, is it safe to open an account online?
- js中的图片预加载
- SWT / anr problem - anr/je causes SWT
- 机器学习9-通用逼近器径向基函数神经网络,在新观点下审视PDA和SVM
猜你喜欢
Leetcode 面试题 17.10. 主要元素
SWT / anr problem - storagemanagerservice stuck
pycharm 软件deployment 灰色 无法点
halcon变量窗口的图像变量不显示,重启软件和电脑都没用
CentOS installs multiple versions of PHP and switches
在unity中使用jieba分词的方法
CorelDRAW 2022 Chinese Simplified 64 bit direct download
PMP是什么?
@ConfigurationProperties和@Value的区别
What is PMP?
随机推荐
機器學習10-信念貝葉斯分類器
Leetcode (524) -- match the longest word in the dictionary by deleting letters
The mobile edge browser cannot open the third-party application
[multi source BFS] 934 Shortest Bridge
MySQL insert \ pre update + judgment condition
查看 jvm 参数
LabVIEW计算相机图像传感器分辨率以及镜头焦距
开源基础软件公司,寻找一起创造未来的你(API7.ai)
Pytoch -- foundation refers to the north_ II. What high school students can understand [back propagation and gradient descent]
Template: globally balanced binary tree
Zero foundation self-study SQL course | window function
SAP ALV summary is inconsistent with exported excel summary data
基于OPENCV和图像减法的PCB缺陷检测
Static domain and static method
Windows quick add boot entry
(总结一)Halcon基础之寻找目标特征+转正
Machine learning 10 belief Bayesian classifier
零基础自学SQL课程 | 窗口函数
How does the property send a text message to the owner?
SWT/ANR问题--Binder Stuck