-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Labels
courseRegarding a course lesson/articleRegarding a course lesson/articleest. time: < 1 weekA loose time estimation of less than one week of work.A loose time estimation of less than one week of work.
Milestone
Description
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
- Lesson structure
- 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
- Lesson structure
- 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::arrayandstd::vectorexamples
- max value with
- 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
courseRegarding a course lesson/articleRegarding a course lesson/articleest. time: < 1 weekA loose time estimation of less than one week of work.A loose time estimation of less than one week of work.
Type
Projects
Status
In Progress