当前位置:网站首页>Shallow and first code
Shallow and first code
2022-07-03 05:02:00 【Thirteen idle guests】
C Language is a high level language ,
low-level machine language Binary system
01000100010001
assembly language Mnemonic symbol
10010 Add add
B Language
senior C Language C++ java python...
C Language is good at low-level development , Of course, it can also be used for other development
Standard grammar ANSIC, among C 89/90 Is the most commonly used , also C99,C11,C17...
Editor used by editor VS2019-- Integrated development environment
Editor + compiler + The debugger
stay C What is created in a language is usually .c.h The file of
.c-- Source file
.h-- The header file
How to write the first source file ?
1. compiler VS2019
2. Create project
3. Create the source file
4. Write code
5. compile + link + function ctrl+f5(+fn)
To write code, first write the main function
Mainstream writing
int main(){
return0;
}
Old fashioned writing , Rarely used
void main() {
}
int main(void) Express main The function does not require any arguments
int main(int argc,char* argv[])
{} Inside is the function body
return0 And int-- Shaping correspondence ,0 Is an integer , The return value is 0
The use of library functions should include the corresponding header file #inclide<stdio.h>
std-i-o The standard input Output header file
std--standard
i--input
o--output

边栏推荐
- Market status and development prospect prediction of the global forward fluorescent microscope industry in 2022
- [research materials] 2021 China's game industry brand report - Download attached
- [set theory] binary relation (example of binary relation operation | example of inverse operation | example of composite operation | example of limiting operation | example of image operation)
- Realize file download through the tag of < a > and customize the file name
- Coordinatorlayout appbarrayout recyclerview item exposure buried point misalignment analysis
- 1119 pre- and post order traversals (30 points)
- Without 50W bride price, my girlfriend was forcibly dragged away. What should I do
- What is UUID
- Shell script Basics - basic grammar knowledge
- Market status and development prospects of the global automatic tea picker industry in 2022
猜你喜欢

cookie session jwt

String matching: find a substring in a string

Learn to use the idea breakpoint debugging tool

Thesis reading_ Chinese NLP_ ELECTRA

SSM framework integration

5-36v input automatic voltage rise and fall PD fast charging scheme drawing 30W low-cost chip

【批处理DOS-CMD命令-汇总和小结】-CMD窗口的设置与操作命令-关闭cmd窗口、退出cmd环境(exit、exit /b、goto :eof)

Automatic voltage rise and fall 5-40v multi string super capacitor charging chip and solution

Keepalived热备与HAProxy

The principle is simple, but I don't know how to use it? Understand "contemporaneous group model" in one article
随机推荐
1095 cars on campus (30 points)
Objects. Requirenonnull method description
Market status and development prospect forecast of global heat curing adhesive industry in 2022
JQ style, element operation, effect, filtering method and transformation, event object
The 19th Zhejiang I. barbecue
Unity tool Luban learning notes 1
Literature reading_ Research on the usefulness identification of tourism online comments based on semantic fusion of multimodal data (Chinese Literature)
Coordinatorlayout appbarrayout recyclerview item exposure buried point misalignment analysis
Keepalived热备与HAProxy
Market status and development prospect prediction of the near infrared sensor industry of the global Internet of things in 2022
The current market situation and development prospect of the global gluten tolerance test kit industry in 2022
Sdl2 + OpenGL glsl practice (Continued)
Market status and development prospect prediction of the global fire hose industry in 2022
《牛客刷verilog》Part II Verilog进阶挑战
Learning record of arouter principle
1099 build a binary search tree (30 points)
论文阅读_ICD编码_MSMN
[research materials] the fourth quarter report of the survey of Chinese small and micro entrepreneurs in 2021 - Download attached
[luatos sensor] 1 light sensing bh1750
The usage of micro service project swagger aggregation document shows all micro service addresses in the form of swagger grouping