当前位置:网站首页>C language Getting Started Guide
C language Getting Started Guide
2022-07-06 13:29:00 【Mr. 30000 lines】
List of articles
Chapter two C Language learning framework and simple code
List of articles
Preface
With C Language learning tools this chapter will build a C Language learning framework
One 、C Language content
C The content of language is simply classified as follows :
1. keyword 2. The operator 3. Branch and loop statements 4. function 5. Array 6. The pointer
7. Structure 8. File operations
( Keywords and operators will be explained in specific code blocks )
Two 、 Simple code
1. Simple input and output
The code is as follows ( Example ):
#include <stdio.h> int main() { printf("hallo"); return 0; }
Code block parsing :
As shown in figure, 1.
stay C The language program must contain a main function, that is main function , because C Language programs start from mian Function to , Also in main End of the function , The lack of main Function programs cannot be executed , all main The importance of functions is self-evident .
As shown in figure, 2.
printf Is an output function using printf You can print the contents in double quotation marks on the screen, and the results are as follows :

summary
All procedures are from main Function to , from main End of the function
边栏推荐
- TYUT太原理工大学往年数据库简述题
- Conceptual model design of the 2022 database of tyut Taiyuan University of Technology
- Tyut Taiyuan University of technology 2022 introduction to software engineering examination question outline
- Atomic and nonatomic
- View UI plus released version 1.3.0, adding space and $imagepreview components
- Service ability of Hongmeng harmonyos learning notes to realize cross end communication
- 初识C语言(上)
- [Topic terminator]
- First acquaintance with C language (Part 1)
- 4.30 dynamic memory allocation notes
猜你喜欢

Wei Pai: the product is applauded, but why is the sales volume still frustrated

C语言入门指南

Alibaba cloud microservices (IV) service mesh overview and instance istio

(ultra detailed onenet TCP protocol access) arduino+esp8266-01s access to the Internet of things platform, upload real-time data collection /tcp transparent transmission (and how to obtain and write L

TYUT太原理工大学2022数据库大题之数据库操作

1. C language matrix addition and subtraction method

Service ability of Hongmeng harmonyos learning notes to realize cross end communication

Inheritance and polymorphism (I)

The latest tank battle 2022 full development notes-1

2. C language matrix multiplication
随机推荐
Questions and answers of "signal and system" in the first semester of the 22nd academic year of Xi'an University of Electronic Science and technology
Inheritance and polymorphism (I)
[中国近代史] 第六章测验
【九阳神功】2020复旦大学应用统计真题+解析
ArrayList的自动扩容机制实现原理
初识C语言(下)
7.数组、指针和数组的关系
12 excel charts and arrays
Change vs theme and set background picture
Arduino+ds18b20 temperature sensor (buzzer alarm) +lcd1602 display (IIC drive)
Design a key value cache to save the results of the most recent Web server queries
7. Relationship between array, pointer and array
Network layer 7 protocol
学编程的八大电脑操作,总有一款你不会
六种集合的遍历方式总结(List Set Map Queue Deque Stack)
JS interview questions (I)
Alibaba cloud microservices (III) sentinel open source flow control fuse degradation component
Questions and answers of "basic experiment" in the first semester of the 22nd academic year of Xi'an University of Electronic Science and technology
Voir ui plus version 1.3.1 pour améliorer l'expérience Typescript
5.函数递归练习