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

improve(docs): Basics -> Arrays #190

Open
19 of 36 tasks
PoetaKodu opened this issue Mar 6, 2023 · 1 comment · Fixed by #195
Open
19 of 36 tasks

improve(docs): Basics -> Arrays #190

PoetaKodu opened this issue Mar 6, 2023 · 1 comment · Fixed by #195
Assignees
Labels
course Regarding a course lesson/article est. time: < 1 week A loose time estimation of less than one week of work.
Milestone

Comments

@PoetaKodu
Copy link
Collaborator

PoetaKodu commented Mar 6, 2023

Overview

Make the lesson structure fit the following (note the actual names of the course lessons are in bold):

Arrays

  • 1. Introduction
    • Motivation: why do we want to use them.
    • Arrays in C++: types of arrays in the language
  • 2. Dynamic arrays
    • Lesson structure
      • creating a vector
      • accessing elements
      • adding elements
      • removing elements
      • reading size
      • displaying elements
    • 💡 Examples
    • 💢 Common problems
    • 📚 Exercises
  • 3. Fixed-size arrays
    • Lesson structure
      • creating an array
      • accessing elements
      • note about not being able to add or remove elements
      • filling the content
      • reading size, mention that it is always the same
      • displaying elements
    • 💡 Examples
    • 💢 Common problems
    • 📚 Exercises
  • 4. Using algorithms - show examples that require minimal knowledge of the language but allow the reader to play with vectors and arrays
    • max value with std::ranges::max()
    • min value with std::ranges::min()
    • reverse with std::ranges::reverse()
    • sorting with std::ranges::sort()
    • ensure the lesson properly shows both std::array and std::vector examples
  • 5. C-style arrays
    • explain why we don't want to use C-style arrays
    • describe when and how to use safer alternatives instead
    • provide basic examples of C-style array usage
  • 📚 Exercises
@PoetaKodu PoetaKodu converted this from a draft issue Mar 6, 2023
@PoetaKodu PoetaKodu self-assigned this Mar 6, 2023
@PoetaKodu PoetaKodu added course Regarding a course lesson/article est. time: < 1 week A loose time estimation of less than one week of work. labels Mar 6, 2023
@PoetaKodu
Copy link
Collaborator Author

A preview of how it looks in the sidebar.

Image

@PoetaKodu PoetaKodu added this to the March 2023 milestone Mar 6, 2023
@PoetaKodu PoetaKodu linked a pull request Mar 12, 2023 that will close this issue
11 tasks
@github-project-automation github-project-automation bot moved this from In Progress to Done in Cpp-Lang.net development Mar 16, 2023
@PoetaKodu PoetaKodu reopened this Mar 16, 2023
@PoetaKodu PoetaKodu moved this from Done to In Progress in Cpp-Lang.net development Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
course Regarding a course lesson/article est. time: < 1 week A loose time estimation of less than one week of work.
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

1 participant