English 中文(简体)
What are your experiences with Code::Blocks? [closed]
原标题:
  • 时间:2009-11-14 00:50:04
  •  标签:
  • c++
  • ide

I looked at Code::Blocks and it certainly looks great for c++ development, I like it s multiplatform capabilities (runs everywhere), but I wanted to get your feedback.

Is it good/stable enough to be used in a professional environment?

Thanks.

最佳回答

I have tried Code::Blocks for windows and found below things about -

Pros:

1.) Supports and generates code using many compilers - GNU GCC for x86, GCC for ARM, MS-VS2005 compiler, ... many more(See list in Project Build options)

2.) Has decent source code browser with necessary stuff(syntax highlighting based on multiple programming language supported, Source code file statistics, like code lines, comment lines, blank lines- good for KLOC statistics of code)

3.)Has a decent debugger, in it to step, break, analyse the code and data for debugging

Cons: 1.) Per se i did not find any problems to point but found some glitches in code generation using this and at times faced some problems in executing the generated executable.

2.) The profiling tool is not so detailed and that great.

3.) There isnt a tool which gives a Call graph (caller-callee relation) .

Given all this,

So overall, my opinion is, if its possible, you can start it for smaller and easier projects, and get more familiar with it by finding more about the tool. Because u might have to spend equal time in finding out about the tool settings, plugins/add-ons for the tools, at same time while you are doing your development, so keep your main work of development relatively easier and less complex.

hope it helps,

-AD

问题回答

You might want to know that they don t have an automatic way to convert their project-organization file (.cbp) into a makefile. There s supposedly a plugin for this but it s not part of the main package, and it looks like it hasn t been maintained for years. You could get Code::Blocks to use your own makefile, but then you would have to manually edit it for every new source file you add to your project.

I have used it in an environment where we were writing high performance text-parsing apps. Since we were trying different things with different compilers, It worked very well as and IDE.

And even with more complex and large projects it seems to work very well. I would recommend it for any standard library stuff, or if you want to develop on any of the big three (mac/windows/linux) it s supported on all of them.

I use it for personal projects and it works well with MINGW 4.4. My only annoyance with it is it will sometimes crash and disappear silently. One minute your are compiling something, the next minute it s gone. No explanation. At least it only happens while compiling so your source files are saved.





相关问题
Undefined reference

I m getting this linker error. I know a way around it, but it s bugging me because another part of the project s linking fine and it s designed almost identically. First, I have namespace LCD. Then I ...

C++ Equivalent of Tidy

Is there an equivalent to tidy for HTML code for C++? I have searched on the internet, but I find nothing but C++ wrappers for tidy, etc... I think the keyword tidy is what has me hung up. I am ...

Template Classes in C++ ... a required skill set?

I m new to C++ and am wondering how much time I should invest in learning how to implement template classes. Are they widely used in industry, or is this something I should move through quickly?

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

typedef ing STL wstring

Why is it when i do the following i get errors when relating to with wchar_t? namespace Foo { typedef std::wstring String; } Now i declare all my strings as Foo::String through out the program, ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

Window iconification status via Xlib

Is it possible to check with the means of pure X11/Xlib only whether the given window is iconified/minimized, and, if it is, how?

热门标签