C++Basics
This course is designed for beginners who want to learn the basics of the C/C++ language. After successfully completing this course, you will be able to read and write C++ code and develop your own multi-file programs of medium complexity.
About this course
The main goal of the course is to introduce the C++ language, its philosophy of zero-cost abstractions; its distinctive features compared to other languages, and, in particular, manual memory management, and its areas of use, such as high-performance applications, graphics, and system programming.
During this course, you will be developing a simple 2D arcade game. In this game, the player controls a planet that moves through space, consuming smaller asteroids and dodging black holes. With each new topic covered, you will improve the game by implementing new functionality based on the concepts you have learned, among other things: object-oriented and template meta-programming in C++.
This course runs directly in your
JetBrains IDE
Content
- First program
- On types of variables in C++
- Start the Game
- Move an Object
- Giving Direction
- Draw a Line
- Running in a Loop
- Hunting Bugs
- Play Around
- Pointers
- Swap
- Null pointer
- Pointer Arithmetics
- Arrays memory layout
- Function pointers
- Static memory
- Stack memory
- Dynamic memory
- Copy array
- Memory errors
- Doubly linked list
- const keyword
- Mutable or immutable
- References
- Swap again
- Passing arguments
- C and C++ styles
- C style type casts
- Choose valid type cast
- C style strings
- C style strings concatenation
- C style strings splitting
Learn directly inside your JetBrains IDEs
Build a web interface
Design a simple web application to showcase your AI playing Dots and Boxes.
Master deep reinforcement learning
Discover the key concepts that empower AlphaZero to surpass human intelligence.
Develop AI games
Build AI players for Tic Tac Toe, Connect Four, and Dots and Boxes, step by step.
Getting started
1
Install the JetBrains Toolbox App
The course requires the latest version of the Toolbox application. If you don’t have it, you can download it here. If your JetBrains Toolbox version is 2.5 or older, you should upgrade it.
2
Launch the course
The Toolbox app will automatically open. A pop-up will ask you to click Allow to proceed. Once the remote IDE is open, simply click Start to begin the course.
FAQ and troubleshooting
Yes, you will need the JetBrains Toolbox App and a JetBrains IDE.
But don’t worry! Just click the Open course button and then select Allow in the resultant popup to install the JetBrains Toolbox App. We've taken care of all the necessary settings, and the app will handle the rest of the setup for you.
The JetBrains Toolbox App checks which IDE is compatible with your course and whether it is installed on your computer. If you have the necessary IDE installed, the app will open it. If not, JetBrains Toolbox will initiate the installation, prioritizing free community editions.
Yes, the JetBrains Toolbox App is essential even if you already have a JetBrains IDE. It automatically prepares your IDE for studying by installing the essential plugins and updating the IDE if necessary.
Please make sure your version of the JetBrains Toolbox App is 1.28 or newer. To update, open the app and click Update Toolbox App to 2.x.x., or download the latest version here.
There might be an issue with the settings. To resolve this issue, follow these steps:
- Go to Settings | Advanced Settings.
- Ensure that Use the ReSharper C++ language engine (CLion Nova) is disabled.
- If it is enabled, disable it and restart your IDE.
These steps should help launch the tests successfully.