当前位置:网站首页>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");
}
边栏推荐
- URLs and URIs
- 小程序自定义顶部导航栏,uni-app微信小程序自定义顶部导航栏
- How to realize the scene linkage of intelligent lock, lamp and intelligent curtain motor in zhiting?
- Map array function
- 【做题打卡】集成每日5题分享(第一期)
- 我的PMP学习考试心得
- The latest CSDN salary increase technology stack in 2022 overview of APP automated testing
- 【JS】【掘金】获取关注了里不在关注者里的人
- The image variables in the Halcon variable window are not displayed, and it is useless to restart the software and the computer
- Pytoch -- foundation refers to the north_ II. What high school students can understand [back propagation and gradient descent]
猜你喜欢

Go import self built package

House change for agricultural products? "Disguised" house purchase subsidy!

FL Studio20.9水果软件高级中文版电音编曲

机器学习10-信念贝叶斯分类器

Pycharm 打开远程目录 Remote Host

AI 边缘计算平台 - BeagleBone AI 64 简介

Delete duplicate email

Qu'est - ce que le PMP?

机器学习9-通用逼近器径向基函数神经网络,在新观点下审视PDA和SVM

Leetcode interview question 17.10 Main elements
随机推荐
CorelDRAW 2022中文精简64位直装版下载
nacos配置中心使用教程
map数组函数
Analysis and solution of anr problems
项目管理是什么?
What are the top ten securities companies? In addition, is it safe to open an account online now?
C#生成putty格式的ppk文件(支持passphrase)
Rocketqa: cross batch negatives, de noised hard negative sampling and data augmentation
Small program cloud development -- wechat official account article collection
SWT / anr problem - SWT caused by long execution time of native method
Alphabet-Rearrange-Inator 3000(字典树自定义排序)
SWT/ANR问题--StorageManagerService卡住
MySQL insert \ pre update + judgment condition
SWT/ANR问题--Binder Stuck
VirtualBox installation enhancements
Image preloading in JS
js中的图片预加载
SWT / anr problem - storagemanagerservice stuck
Xception学习笔记
Thread Detach