Help re: UNIX C++ IDE - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Help re: UNIX C++ IDE

RustumRustum Posts: 20Member
Hi,
I'm a beginner UNIX C++ developer transferring from Windows. I have been getting by with Vi and xterms but development is much slower than with Visual Studio.
I presume I'm not using the right tools as UNIX is meant to be developer-friendly.
Would someone point me to a Unix IDE that has the following features:

EDITTING
modeless (ie like Windows editting),
a window for project file management (like Visual Studio's Solution Explorer window)
language specific syntax highlighting for C, C++, Java
autocomplete text editing
autoindent
multiple undo/redo
code folding
ability to jump from class/fn calls to defns (I think this might be called intellisense)

COMPILING
An output window that allows you to jump from an error to the suspect line in code (in Visual Studio you double click the error)
(optional) help suggestions (in Visual Studio you press F1 when the cursor is on an error line in the output window)

DEBUGGING
interface for gdb/ddd debugger

Below, I've included a small test program with 2 errors that I'd hope to find and fix easily with the IDE.

[code]
//Test.cpp for UNIX IDE

#include

using namespace std;

int FuncTooManyArgs(int a, int b); //Fn sums two integers

int main()
{
int arg1 = 1;
int arg2 = 2;
int arg3 = 3;

int answer = FuncTooManyArgs(arg1,arg2,arg3); //Error 1: due to extra arg

cout << "

Sum: " << answer << endl;


int * leak = new int(2);
leak = new int(3); //Error 2: reassigning ptr creates mem leak

cout << "
Number: " << leak << endl;

return 0;

}

int FuncTooManyArgs(int a, int b)
{
return (a + b);
}
[/code]


Kind Regards,

Chris

Comments

  • bilderbikkelbilderbikkel Posts: 754Member
    : Hi,
    : I'm a beginner UNIX C++ developer transferring from Windows. I have been getting by with Vi and xterms but development is much slower than with Visual Studio.
    : I presume I'm not using the right tools as UNIX is meant to be developer-friendly.
    : Would someone point me to a Unix IDE that has the following features:
    :
    : EDITTING
    : modeless (ie like Windows editting),
    : a window for project file management (like Visual Studio's Solution Explorer window)
    : language specific syntax highlighting for C, C++, Java
    : autocomplete text editing
    : autoindent
    : multiple undo/redo
    : code folding
    : ability to jump from class/fn calls to defns (I think this might be called intellisense)
    :
    : COMPILING
    : An output window that allows you to jump from an error to the suspect line in code (in Visual Studio you double click the error)
    : (optional) help suggestions (in Visual Studio you press F1 when the cursor is on an error line in the output window)
    :
    : DEBUGGING
    : interface for gdb/ddd debugger
    :
    : Below, I've included a small test program with 2 errors that I'd hope to find and fix easily with the IDE.
    :
    : [code]
    : //Test.cpp for UNIX IDE
    :
    : #include
    :
    : using namespace std;
    :
    : int FuncTooManyArgs(int a, int b); //Fn sums two integers
    :
    : int main()
    : {
    : int arg1 = 1;
    : int arg2 = 2;
    : int arg3 = 3;
    :
    : int answer = FuncTooManyArgs(arg1,arg2,arg3); //Error 1: due to extra arg
    :
    : cout << "

    Sum: " << answer << endl;
    :
    :
    : int * leak = new int(2);
    : leak = new int(3); //Error 2: reassigning ptr creates mem leak
    :
    : cout << "
    Number: " << leak << endl;
    :
    : return 0;
    :
    : }
    :
    : int FuncTooManyArgs(int a, int b)
    : {
    : return (a + b);
    : }
    : [/code]
    :
    :
    : Kind Regards,
    :
    : Chris
    :

    Take a look at Kylix, it's the sister of Borland's C++ Builder for Linux.

    See ya,
    bilderbikkel

  • IDKIDK Posts: 1,784Member
    : : Hi,
    : : I'm a beginner UNIX C++ developer transferring from Windows. I have been getting by with Vi and xterms but development is much slower than with Visual Studio.
    : : I presume I'm not using the right tools as UNIX is meant to be developer-friendly.
    : : Would someone point me to a Unix IDE that has the following features:
    : :
    : : EDITTING
    : : modeless (ie like Windows editting),
    : : a window for project file management (like Visual Studio's Solution Explorer window)
    : : language specific syntax highlighting for C, C++, Java
    : : autocomplete text editing
    : : autoindent
    : : multiple undo/redo
    : : code folding
    : : ability to jump from class/fn calls to defns (I think this might be called intellisense)
    : :
    : : COMPILING
    : : An output window that allows you to jump from an error to the suspect line in code (in Visual Studio you double click the error)
    : : (optional) help suggestions (in Visual Studio you press F1 when the cursor is on an error line in the output window)
    : :
    : : DEBUGGING
    : : interface for gdb/ddd debugger
    : :
    : : Below, I've included a small test program with 2 errors that I'd hope to find and fix easily with the IDE.
    : :
    : : [code]
    : : //Test.cpp for UNIX IDE
    : :
    : : #include
    : :
    : : using namespace std;
    : :
    : : int FuncTooManyArgs(int a, int b); //Fn sums two integers
    : :
    : : int main()
    : : {
    : : int arg1 = 1;
    : : int arg2 = 2;
    : : int arg3 = 3;
    : :
    : : int answer = FuncTooManyArgs(arg1,arg2,arg3); //Error 1: due to extra arg
    : :
    : : cout << "

    Sum: " << answer << endl;
    : :
    : :
    : : int * leak = new int(2);
    : : leak = new int(3); //Error 2: reassigning ptr creates mem leak
    : :
    : : cout << "
    Number: " << leak << endl;
    : :
    : : return 0;
    : :
    : : }
    : :
    : : int FuncTooManyArgs(int a, int b)
    : : {
    : : return (a + b);
    : : }
    : : [/code]
    : :
    : :
    : : Kind Regards,
    : :
    : : Chris
    : :
    :
    : Take a look at Kylix, it's the sister of Borland's C++ Builder for Linux.
    :
    : See ya,
    : bilderbikkel
    :
    :

    What you described sounds very like Emacs.

    Vi is very odd, I personally use Zile, which is a lot faster than Emacs.
  • RustumRustum Posts: 20Member
    : : : Hi,
    : : : I'm a beginner UNIX C++ developer transferring from Windows. I have been getting by with Vi and xterms but development is much slower than with Visual Studio.
    : : : I presume I'm not using the right tools as UNIX is meant to be developer-friendly.
    : : : Would someone point me to a Unix IDE that has the following features:
    : : :
    : : : EDITTING
    : : : modeless (ie like Windows editting),
    : : : a window for project file management (like Visual Studio's Solution Explorer window)
    : : : language specific syntax highlighting for C, C++, Java
    : : : autocomplete text editing
    : : : autoindent
    : : : multiple undo/redo
    : : : code folding
    : : : ability to jump from class/fn calls to defns (I think this might be called intellisense)
    : : :
    : : : COMPILING
    : : : An output window that allows you to jump from an error to the suspect line in code (in Visual Studio you double click the error)
    : : : (optional) help suggestions (in Visual Studio you press F1 when the cursor is on an error line in the output window)
    : : :
    : : : DEBUGGING
    : : : interface for gdb/ddd debugger
    : : :
    : : : Below, I've included a small test program with 2 errors that I'd hope to find and fix easily with the IDE.
    : : :
    : : : [code]
    : : : //Test.cpp for UNIX IDE
    : : :
    : : : #include
    : : :
    : : : using namespace std;
    : : :
    : : : int FuncTooManyArgs(int a, int b); //Fn sums two integers
    : : :
    : : : int main()
    : : : {
    : : : int arg1 = 1;
    : : : int arg2 = 2;
    : : : int arg3 = 3;
    : : :
    : : : int answer = FuncTooManyArgs(arg1,arg2,arg3); //Error 1: due to extra arg
    : : :
    : : : cout << "

    Sum: " << answer << endl;
    : : :
    : : :
    : : : int * leak = new int(2);
    : : : leak = new int(3); //Error 2: reassigning ptr creates mem leak
    : : :
    : : : cout << "
    Number: " << leak << endl;
    : : :
    : : : return 0;
    : : :
    : : : }
    : : :
    : : : int FuncTooManyArgs(int a, int b)
    : : : {
    : : : return (a + b);
    : : : }
    : : : [/code]
    : : :
    : : :
    : : : Kind Regards,
    : : :
    : : : Chris
    : : :
    : :
    : : Take a look at Kylix, it's the sister of Borland's C++ Builder for Linux.
    : :
    : : See ya,
    : : bilderbikkel
    : :
    : :
    :
    : What you described sounds very like Emacs.
    :
    : Vi is very odd, I personally use Zile, which is a lot faster than Emacs.

    Thanks guys,

    What do you think of Eclipse?

Sign In or Register to comment.