Page 1 of 1

Learning C++

Posted: Mon Jun 23, 2014 6:38 am
by knifey
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

Re: Learning C++

Posted: Mon Jun 23, 2014 9:36 am
by eranif
Did you build your project?
Please follow the instructions in the HOW TO POST thread

Eran

Re: Learning C++

Posted: Mon Jun 23, 2014 9:47 am
by knifey
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.

Re: Learning C++

Posted: Mon Jun 23, 2014 9:51 am
by eranif
You need to have a workspace and project.

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

Eran