eclipse-cdt

Eclipse C/C++ Development Tools: Can't get standard error to appear in console

I'm working on a program in Eclipse, outputting debugging information to 'clog'. I can not get clog or cerr output to show up in the console. Not only would I like to read this information, but I'm getting program hangs waiting on inserts to clog to finish. I assume this is because no-one is pulling information from the stderr stream an...

View C/C++ processor macro expansions in Eclipse Helios CDT

Does Eclipse CDT Helios have some handy way to view the the macro expansions after the preprocessor has visited the project files? ...

Eclipse CDT Source->Implement Method generates code not following defined code style

I am using Source->Implement Method sometimes, but I noticed that the generated code does not follow the defined code style from the preferences (the style is applied when I use Source->Format correctly) - Is there some setting I missed or is that a bug? Using Eclipse Version 3.5.2 and CDT 6.0.2 on Ubuntu Linux 10.04 LTS. Example: we d...

Debugging ncurses with Eclipse CDT

I'm writing a C++ application using ncurses in Eclipse CDT however I can't run/debug my app in eclipse because the console in eclipse does not work with curses. My app runs fine if I run it from a terminal but I just added some new code and now I'm getting a segmentation fault so I'd like to use the debugger in eclipse to help me fix the...

How to do C++ development on Windows with Eclipse and CDT?

I would like to do some C++ development on Windows using Eclipse and the CDT plugin. I use Eclipse Helios and have installed the CDT plugin. But after that I can still not create a C++ project from File > New > Project, there is still only Java Project available there. How to solve this? and do I have to install anything more for C++ de...

How to compile and run C++ with MinGW using Eclipse and CDT?

I would like to do some C++ development on Windows using Eclipse and the CDT plugin. I use Eclipse Helios SR1 and have installed the CDT plugin. I have also installed MinGW and now I wrote a simple "Hello World" in Eclipse. hello.cpp #include <iostream> using namespace std; int main() { cout << "Hello World" << endl; return 0; ...

learning to use eclipse-cdt ide

I'm on the stage of learning C++ using the Eclipse-CDT IDE. Besides reading on the official documentation, I'll like to learn using it and some good tips&tricks as looking over a "colleague's shoulder". Do you know any videos or short but rich tutorials, blog posts about how to use the Eclipse-CDT IDE? I've searched into youtube for vi...

How to change active launch configuration in Eclipse CDT

Feeling rather dumb: I have a C++ project, using Eclipse CDT (Eclipse 3.6, CDT 1.3.1). I have defined more than one launch configuration: each points to a different executable within the project. But, when I press F11 to debug, Eclipse always loads the first configuration, and I can find no way to make it launch the 2nd one instead. ...

Getting Eclipse CDT to use relative include paths in generated Makefiles

Hello, I am using the Eclipse CDT. I have configured the "external Builder" and I am generating the Makefiles automatically. Unfortunately, the generated Makefiles contain the absolute include path. I would like to use the generated Makefiles on other systems (where Eclipse is not installed) - is there a way to make Eclipse use relative...

Eclipse delete word behavior

What preference in Eclipse controls how much is deleted when you press control-delete/backspace? This is the delete whole word command as defined by the operating system (but I imagine expanded on in Eclipse). In CDT, it's great. If you press control-delete in some white space it will delete all the way up to the first character. Lik...

How to setup personal build in CDT eclipse over linux?

Hi, I started using eclipse CDT over Linux for some college exercises. I want the build function to compile without linking? Can i have the build to be as simple as: gcc -c -Wall ? Thanks ...

How to make eclipse cdt oulook view on source files the same as on header files?

One of the reasons I like eclipse, is for it's outline view. It allows fast navigation through code. Especially if you have to read someone else's code it helps to get an idea of the layout of a file. However, it is not always equally great. In header files it is lovely, but the view in source files kind of beats the purpose. The functio...