From the course: C++ IDE Overview

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Writing code

Writing code

From the course: C++ IDE Overview

Start my 1-month free trial

Writing code

- [Instructor] Let's create a program in CLion. Instead of the tradition Hello, World, let's instead create one a tiny bit different named hello, CLion. If you have a project open, go File, Close Project, on the welcome page click New Project, select C++ Executable, give it the name HelloCLion, all one word, click Create. After creating the project, CLion will load the CMake project and then build the symbols. This process can take a bit to complete depending on your system speed and memory. During this time the items in the run menu are unavailable. Wait for the building symbols status message to disappear. Then we go Go, Run, Run HelloCLion. The code will build then open a run window at the bottom fop the page. It will display Hello, World. Let's change the text. We're just going to change the word World to CLion and we're once again going to go Run, Run HelloCLion. We should see our message Hello, CLion. Now we've created our first CLion C++ program.

Contents