Create C Control Constructs using DevC++

提供方
Coursera Project Network
在此指導項目中,您將:

Create a C program that checks the command line arguments.

Create a do-while loop in a C program to read characters from a file.

Use compound conditions in a C program to count lines and words in a file.

Clock2 hours
Intermediate中級
Cloud無需下載
Video分屏視頻
Comment Dots英語(English)
Laptop僅限桌面

By the end of this project you will implement a C program that determines how many words, characters, and lines are in a file using C control constructs. The C programming language is the basis for many other programming languages. Its syntax has been used in languages such as C++, Java, and C# to name a few. All these languages utilize control constructs such as the decision constructs and loop constructs. C is still the language of choice for writing Operating systems, games, and many other applications where performance is critical. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

您要培養的技能

  • C switch constructs
  • C Programming
  • C command line
  • C Loop constructs
  • C if statemements

分步進行學習

在與您的工作區一起在分屏中播放的視頻中,您的授課教師將指導您完成每個步驟:

  1. Create a C program that checks the command line arguments.

  2. Use an if-else construct in C to execute code when conditions are favorable.

  3. Use a switch construct in C to analyze the command line arguments.

  4. Create a do-while loop in a C program to read characters from a file.

  5. Use a compound condition in a C program to count lines and words in a file.

指導項目工作原理

您的工作空間就是瀏覽器中的雲桌面,無需下載

在分屏視頻中,您的授課教師會為您提供分步指導

常見問題

常見問題

還有其他問題嗎?請訪問 學生幫助中心