Learning C++

General questions regarding the usage of CodeLite
knifey
CodeLite Curious
Posts: 2
Joined: Mon Jun 23, 2014 6:32 am
Genuine User: Yes
IDE Question: C++
Contact:

Learning C++

Post by knifey » Mon Jun 23, 2014 6:38 am

Hello,
I'm learning C++ and following a tutorial. For the first task I was instructed to make the following file, compile/run it.

// my first program in C++
#include <iostream>

int main()
{
std::cout << "Hello World!";
}

I'm guessing I don't have something installed properly as it just makes codelite crash. I'm using win7 64bit, windows updates current. If somebody could guide me on setup etc I'd appreciate it.

~Knifey

User avatar
eranif
CodeLite Plugin
Posts: 6110
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Learning C++

Post by eranif » Mon Jun 23, 2014 9:36 am

Did you build your project?
Please follow the instructions in the HOW TO POST thread

Eran
Make sure you have read the HOW TO POST thread

knifey
CodeLite Curious
Posts: 2
Joined: Mon Jun 23, 2014 6:32 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Learning C++

Post by knifey » Mon Jun 23, 2014 9:47 am

CodeLite 6.0 Installer for Windows 8, 7, Vista and XP (wxCrafter included) with MinGW TDM-GCC 4.8.1 included (Direct Link) »

I installed codelite, opened a new page, pasted in the hello world program and hit compile.

~Knifey

P.S. the how to post thread includes instructions which require knowledge of codelite/c++ that I do not have. Between this post and the OP I have complied as best I can.

User avatar
eranif
CodeLite Plugin
Posts: 6110
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Learning C++

Post by eranif » Mon Jun 23, 2014 9:51 am

You need to have a workspace and project.

Try follow these simple instructions
http://codelite.org/LiteEditor/HelloWorld

Eran
Make sure you have read the HOW TO POST thread

Post Reply