Nice C/C++ IDE: CodeBlocks

Programming Topics (Computer Chess) and technical aspects as test techniques, book building, program tuning etc

Moderator: Andres Valverde

Nice C/C++ IDE: CodeBlocks

Postby Ron Murawski » 16 Jun 2006, 18:14

I've done some testing of the free, open-source CodeBlocks IDE for C/C++ coding and I'm very impressed with it. It's got lots of nifty features and, best of all, is not only cross-platform (Windows and Linux), but supports many free compilers as well:
* GCC (MingW / Linux GCC)
* MSVC++
* Digital Mars
* Borland C++ 5.5
* Open Watcom

Check out the 'Screenshots' page: it will quickly tell you all you need to know.

I set up my own chess engine and switched from compiler to compiler. I was dismayed that it would not build for some of them. I set warnings to max and finally teased out the problem: I had assumed that 'char' was signed but, it turns out, this is a compiler-dependent decision. If I want my code to be truly portable (and I do!) I will have to fix this problem.

The 'nightly build' releases of CodeBlocks have more features and bugfixes than the 'stable release', but you'll need to be running Win XP in order to take advantage of it. I think this program can be useful for many chess programmers.

Best regards,
Ron
User avatar
Ron Murawski
 
Posts: 352
Joined: 26 Sep 2004, 21:50
Location: Schenectady, NY, USA

Re: Nice C/C++ IDE: CodeBlocks

Postby Josu? Forte » 24 Jun 2006, 19:49

Thanks Ron!

I downloaded and installed it without problems.

Josu
User avatar
Josu? Forte
 
Posts: 25
Joined: 02 Oct 2004, 23:58
Location: Rio de Janeiro / Brasil

Re: Nice C/C++ IDE: CodeBlocks

Postby Ferdinand » 27 Jun 2006, 16:29

Ron Murawski wrote:I've done some testing of the free, open-source CodeBlocks IDE for C/C++ coding and I'm very impressed with it. It's got lots of nifty features and, best of all, is not only cross-platform (Windows and Linux), but supports many free compilers as well:
* GCC (MingW / Linux GCC)
* MSVC++
* Digital Mars
* Borland C++ 5.5
* Open Watcom

Check out the 'Screenshots' page: it will quickly tell you all you need to know.

I set up my own chess engine and switched from compiler to compiler. I was dismayed that it would not build for some of them. I set warnings to max and finally teased out the problem: I had assumed that 'char' was signed but, it turns out, this is a compiler-dependent decision. If I want my code to be truly portable (and I do!) I will have to fix this problem.

The 'nightly build' releases of CodeBlocks have more features and bugfixes than the 'stable release', but you'll need to be running Win XP in order to take advantage of it. I think this program can be useful for many chess programmers.

Best regards,
Ron


Hello Ron,

Many thanks for this information, I got a noticeable increase in speed using this compiler (GCC) which is included in the package.
I was using Dev C++ before.

Best regards,
Ferdinand



[/quote]
User avatar
Ferdinand
 
Posts: 32
Joined: 17 Mar 2006, 06:12
Location: Philippines

Re: Nice C/C++ IDE: CodeBlocks

Postby Ron Murawski » 27 Jun 2006, 17:47

Hi Ferdinand and Josu?,

Dev-C++ hasn't released a new version since February 2005. That's a very, very long time since the last release for an open source project -- it might be a dead project.

Best regards,
Ron
User avatar
Ron Murawski
 
Posts: 352
Joined: 26 Sep 2004, 21:50
Location: Schenectady, NY, USA

Re: Nice C/C++ IDE: CodeBlocks

Postby Vladimir Medvedev » 28 Jun 2006, 08:23

Very nice IDE. I plan to use it as my primary tool in developing new version of GreKo.

One question: does anybody know how to use it's SVN capabilities?
User avatar
Vladimir Medvedev
 
Posts: 129
Joined: 29 Sep 2004, 10:03
Location: Moscow, Russia

Re: Nice C/C++ IDE: CodeBlocks

Postby Ron Murawski » 28 Jun 2006, 16:40

Vladimir Medvedev wrote:Very nice IDE. I plan to use it as my primary tool in developing new version of GreKo.

One question: does anybody know how to use it's SVN capabilities?


Hi Vladimir,

First of all you need a functional svn server with your source code in the repository. Once that's established properly you get username/password access. Setting up a svn server very much resembles setting up a simple web server.

I have had a svn server for my engine source code for the past year or so and it works quite well. You don't need CodeBlocks to access the repository.

Best regards,
Ron
User avatar
Ron Murawski
 
Posts: 352
Joined: 26 Sep 2004, 21:50
Location: Schenectady, NY, USA

Re: Nice C/C++ IDE: CodeBlocks

Postby Richard Allbert » 28 Jun 2006, 17:18

Thanks for the link!

I was using devcpp, which seemed good, but this is excellent.

Richard
Richard Allbert
 
Posts: 105
Joined: 27 Sep 2004, 11:56
Location: Aschaffenburg, Germany

Re: Nice C/C++ IDE: CodeBlocks

Postby Vladimir Medvedev » 28 Jun 2006, 17:22

I have SVN installed on my machine. But I use local repository, no server. Command-line SVN interface works fine, Tortoise shell-extension too. No doubt, I can continue my work with SVN from command shell, the question is how to configure C:B for these operations... For example, where should I specify url of existing repository?
User avatar
Vladimir Medvedev
 
Posts: 129
Joined: 29 Sep 2004, 10:03
Location: Moscow, Russia

Re: Nice C/C++ IDE: CodeBlocks

Postby Ron Murawski » 28 Jun 2006, 18:29

Vladimir Medvedev wrote:I have SVN installed on my machine. But I use local repository, no server. Command-line SVN interface works fine, Tortoise shell-extension too. No doubt, I can continue my work with SVN from command shell, the question is how to configure C:B for these operations... For example, where should I specify url of existing repository?


I have no experience with local svn repositories or with using CodeBlocks w/svn.

Perhaps you can post your question to the CodeBlocks messageboard:
http://forums.codeblocks.org/

Ron
User avatar
Ron Murawski
 
Posts: 352
Joined: 26 Sep 2004, 21:50
Location: Schenectady, NY, USA

Re: Nice C/C++ IDE: CodeBlocks

Postby Pedro Castro » 04 Jul 2006, 10:01

It is interesting the combination of IDE with mingw, because it is free, my program has compiled without changing a single line, but I find with MSVC++ 2005 express that is 10% quicker in the executable.
Best wishes,

Pedro Castro
User avatar
Pedro Castro
 
Posts: 180
Joined: 28 Jan 2005, 01:09
Location: Pays Basque (Spain)

Re: Nice C/C++ IDE: CodeBlocks

Postby Pedro Castro » 23 Jul 2006, 18:37

And now, Microsoft visualc++ 2005 express is free.
Best wishes,

Pedro Castro
User avatar
Pedro Castro
 
Posts: 180
Joined: 28 Jan 2005, 01:09
Location: Pays Basque (Spain)


Return to Programming and Technical Discussions

Who is online

Users browsing this forum: No registered users and 34 guests