开发者

Code::Blocks for understanding C++ code it can't build

Have a C++ source I probably can't build in Code::Blocks. If I use it as an editor, would it be helpful in gaining understanding of the code? (Like Intellisense).

How does it compare to Visual Studio in this respect?

How should I go about doing it?

Can it somehow utilize gdb information (When I run it in gdb, there is a lot of information available)


It is Linux gcc/Makefile based.

The main executable is in one directory, but there are many 开发者_如何学JAVAincludes, libraries etc. If I just included all sources I would get sources for other executables (with similar code).

I expect to increase my understanding about where things are located over time.

Note 1: This is Linux, but I can easily edit on Windows. And I am trying to build under Cygwin.


Code::Blocks sounds too light weight for your tastes. Try NetBeans. It has very good hinting tools, doesn't have the infamous copy+paste bug, Its easier to navigate files, and can deal with makefiles better then C::B. Additionally it has a nice interface for debugging, and an exceptional one for performance monitoring.

I would reccomend you install a linux distro through WUBI and forgo using Windows.


I have used NetBeans, Eclipse, Visual Studio, Code::Blocks, and CodeLite. I don't normally write software under Windows anymore, but when I did CodeLite was the most elegant one I found. Debugging was a snap (mingw + GDB), all the meta information about your project is stored in an sqlite db (which I think is a great design), and it supports makefiles.

I think NetBeans would work great as well, but definitely give CodeLite a shot.

http://www.codelite.org/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜