Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v3] Implement new Concept Exercise: basics #586

Open
wolf99 opened this issue Jul 11, 2020 · 2 comments
Open

[v3] Implement new Concept Exercise: basics #586

wolf99 opened this issue Jul 11, 2020 · 2 comments

Comments

@wolf99
Copy link
Contributor

wolf99 commented Jul 11, 2020

This issue describes how to implement the <SLUG> concept exercise for the track.

Getting started

Please please please read the docs before starting. Posting PRs without reading these docs will be a lot more frustrating for you during the review cycle, and exhaust Exercism's maintainers' time. So, before diving into the implementation, please read up on the following documents:

Please also watch the following video:

Goal

The goal of this exercise is to teach the student basic concepts of the C++ language.

Learning objectives

  • Know what a variable is.
  • Know how to define a variable.
  • Know how to update a variable.
  • Know how to use type inference for variables.
  • Know how to define a function.
  • Know how to return a value from a function.
  • Know how to call a function.
  • Know about the static modifier.
  • Know how to define an integer.
  • Know how to use mathematical operators on integers.
  • Know how to define single- and multiline comments.

Out of scope

  • Naming rules for identifiers.
  • Memory and performance characteristics
  • Preprocessor defines

Concepts

  • basics: know what a variable is; know how to define a variable; know how to update a variable; know how to define a function; know how to return a value from a function; know how to call a function; know about the static modifier; know how to defined an integer; know how to use mathematical operators on integers; know how to define single and multiline comments.

Prerequisites

There are no prerequisites.

Resources to refer to

Hints

  • How to define an integer
  • How to define a function without any arguments
  • How to return an integer from a function
  • How to add or subtract integers using arithmetic operators
  • How to invoke a function

After

  • More info on the assignment operators
  • Introduction of the static keyword
  • More information on scoping
  • More info on commenting syntax

Representer

Analyzer

Implementing

To implement this exercise, please follow these instructions

Help

If you have any questions while implementing the exercise, please post the questions as comments in this issue.

@nicolechalmers nicolechalmers changed the title [C] Implement new Concept Exercise: basics [v3] Implement new Concept Exercise: basics Jan 28, 2021
@nicolechalmers nicolechalmers transferred this issue from exercism/v3 Jan 28, 2021
@kana800
Copy link

kana800 commented Oct 23, 2021

@wolf99 can start working on some concepts?

@wolf99
Copy link
Contributor Author

wolf99 commented Oct 28, 2021

Hi @kana800
Please do!
This is the first concept exercise Basics.
Maybe take a look at the other language tracks to see how they have created such a concept exercise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants