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 #379

Closed
silvanocerza opened this issue Jun 5, 2020 · 1 comment
Closed

[v3] Implement new Concept Exercise: basics #379

silvanocerza opened this issue Jun 5, 2020 · 1 comment
Assignees

Comments

@silvanocerza
Copy link
Contributor

This issue describes how to implement the basics concept exercise for the C++ 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 method.
  • Know how to return a value from a method.
  • Know how to call a method.
  • Know that methods must be defined in classes.
  • Know about the public access modifier.
  • 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.
  • Generic values.
  • Memory and performance characteristics.
  • Method overloads.
  • Lambda's.
  • Classes.
  • Organizing methods in namespaces.
  • Visibility.

Concepts

  • basics: 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 method; know how to return a value from a method; know how to call a method; know that methods must be defined in classes; know about the public access modifier; 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

None.

Hints

After

Representer

This exercise does not require any specific representation logic to be added to the representer.

Analyzer

This exercise does not require any specific analyzer logic to be added to the analyzer.

Implementing

To implement this exercise, please follow these instructions.

@silvanocerza silvanocerza self-assigned this Jun 5, 2020
@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
@vaeng
Copy link
Contributor

vaeng commented Jan 4, 2024

There is a basic concept since 2023 that covers many of the aspects above.

@vaeng vaeng closed this as completed Jan 4, 2024
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