Create C Control Constructs using DevC++

von
Coursera Project Network
In diesem angeleitetes Projekt werden Sie:

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
IntermediateMittel
CloudKein Download erforderlich
VideoVideo auf geteiltem Bildschirm
Comment DotsEnglisch
LaptopNur Desktop

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.

Kompetenzen, die Sie erwerben werden

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

Schritt für Schritt lernen

In einem Video, das auf einer Hälfte Ihres Arbeitsbereichs abgespielt wird, führt Sie Ihr Dozent durch diese Schritte:

  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.

Ablauf angeleiteter Projekte

Ihr Arbeitsbereich ist ein Cloud-Desktop direkt in Ihrem Browser, kein Download erforderlich

Ihr Dozent leitet Sie in einem Video mit geteiltem Bildschirm Schritt für Schritt an.

Häufig gestellte Fragen

Häufig gestellte Fragen

Haben Sie weitere Fragen? Besuchen Sie das Learner Help Center.