Create a C Program using DevC++ to Demonstrate Scope

提供:
Coursera Project Network
このガイド付きプロジェクトでは、次のことを行います。

Declare a global variable and constant of type double and access it within a block.

Construct a named block within a function and access its variables.

Create a struct in File and External scope with member variables to house a collection of data.

Clock2 hours
Intermediate中級
Cloudダウンロード不要
Video分割画面ビデオ
Comment Dots英語
Laptopデスクトップのみ

By the end of this project you will implement a program using C that demonstrates the notion of scope and its effect on variables. 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 of these languages utilize scope to control access to variables, so it is an important concept to grasp. 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 Standard Library
  • C named blocks
  • C Scope
  • C Structs
  • C Programming

ステップバイステップで学習します

ワークエリアを使用した分割画面で再生するビデオでは、講師がこれらの手順を説明します。

  1. Create a C program that utilizes a local variable.

  2. Declare a global variable and constant of type double and access it within a block.

  3. Construct a named block within a function and access its variables.

  4. Create a struct in File and External scope with member variables to house a collection of data.

  5. Create a static local variable to count function calls.

ガイド付きプロジェクトの仕組み

ワークスペースは、ブラウザに完全にロードされたクラウドデスクトップですので、ダウンロードは不要です

分割画面のビデオで、講師が手順ごとにガイドします

よくある質問

よくある質問

さらに質問がある場合は、受講者ヘルプセンターにアクセスしてください。