This section will introduce a concept that is frequently used in algorithms (especially in competitive programming).
This post will introduce data structures, and how to use them in C++. This is important if you are interested in competitive programming. Press page 2 to access the post!
This post will introduce functions, as well as the concept of recursion! Press page 2 to continue. —>
To get a recap of what we did last week, scroll down the posts and find Meeting #6 (C++). Press page 2 to continue!
Here is a recap of what we have done with C++ so far:
Opening a C++ file:
In order to write our code, we will use a text editor so that we can write text to a file. There are many that are available, but we recommend either using nano (in the terminal) or kate (GUI). Make sure that the file extension is .cpp so that we can easily compile it.
user:~$ nano file.cpp
Press Page 2 to continue!