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

- Let's create a program in code lite. The traditional for a C++ program is Hello World. Let's create a slight variation of that, which we'll call Hello Lite. Before we can create a project, we will need to create a workspace. Go file, new, new workspace, notice that new project is disabled. For workspace name, I'm going to call mine My Workspace. And click ok, and notice that the workspace appears in the workspace pane, now we can go file, new, notice now new project is enabled, new project, this time we want the console app, we want a simple executable g++, click next, for our project name we're going to call it Hello Lite, camel case, no spaces, click next, we're going to validate the tool chain, I'm using cygwin, the gdb debugger, and the build system just needs to be set to default, click finish, code lite will create our project and generate a main.cpp file for us with code in it. To run the code, you just go build, and then do a build and run project, and there's our Hello…

Contents