where is C used ? C 語言的應(yīng)用場景
C is widely used C語言被廣泛應(yīng)用于:
- For creating desktop applications
- 用于創(chuàng)建桌面應(yīng)用程序
- For developing games
- 游戲開發(fā)
- For designing Operating Systems
- 用于設(shè)計(jì)操作系統(tǒng)
- For designing Compilers
- 編譯器設(shè)計(jì)
Working of C Step by Step Procedure C語言分步操作程序的實(shí)現(xiàn)
Writing Source Code 編寫源代碼::
The first step is to write a source code for the desired project. The code is written using a text editing tool.
第一步是為所需的項(xiàng)目編寫源代碼狞贱。代碼是使用文本編輯工具編寫的脖卖。
Compiling the source code 編譯源代碼:
The Source code is then converted into equivalent machine instructions, so that the computer can understandit.
然后將源代碼轉(zhuǎn)換成等價(jià)的機(jī)器指令朱庆,以便計(jì)算機(jī)能夠理解榨惠。
Checking for Errors 檢查錯(cuò)誤:
- The code is checked for all possible errors.
- 檢查代碼是否存在所有可能的錯(cuò)誤罐韩。
Linking 鏈接:
The code is linked with other files of code
代碼與其他代碼文件鏈接憾赁。
Sometimes it is difficult to put all your code in one file, so the computer needs to link them together if you decided to separate them.
有時(shí)很難將所有代碼放在一個(gè)文件中,因此如果您決定將它們分開散吵,計(jì)算機(jī)需要將它們鏈接在一起龙考。
Checking for Errors 再次檢查錯(cuò)誤:
- The code is checked for all possible errors once again.
- 再次檢查代碼是否存在所有可能的錯(cuò)誤。
Execution 執(zhí)行矾睦、運(yùn)行C程序:
- The code is then finally executed to get the desired output.
- 然后晦款,最后執(zhí)行代碼以獲得所需的輸出。