Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

A quote from HAL 9000, the computer in 2001: A Space Odyssey (1968).

A quote from HAL 9000, the computer in 2001: A Space Odyssey (1968).

Cryteria, CC BY 3.0, Source

Motivation

Learning goals

Preparation Review

AI-assisted development environment

Creating your own repository using our template

Until now, Classroom 50 created a repository for you for submitting your assignments. Using this tutorial, you will create your own repository using our template.

  1. Go to https://github.com/dtucprog/c-template-multi-main.

  2. Click Use this template -> Create a new repository:

  3. Give a name to your repository, choose visibility, and click Create repository:

You can now clone your repository in your local editor or open it in the Browser-based code editor.

Browser-based code editor

In Pair programming with GitHub Copilot you used a Python-based project. You can also use our template in the browser, which has Copilot built-in. After Creating your own repository using our template, you can open your repository in the browser-based code editor.

  1. Click <> Code button -> Codespaces tab -> Create codespace on main button:

    It will take about 1 minute to setup the environment ⏳

  2. If you trust our template, click Trust Folder & Continue.

    After confirmation, some extensions will be installed.

  3. Try compiling a file. For example, click src/hello.c and then press F5. You should see program’s output:

    When you start debugging, you will see the following error message in the Debug Console. This is expected.

    Could not disable address space layout randomization (ASLR).

You can list your repositories by clicking on your profile picture on the top right corner and then Repositories:

Coding

E: Improving a software tool

E: Reflection

Let us revisit our learning goals: