ACT Release GTK Based Development Environment
aidan skinner writes: "ACT have a new GTK based IDE out for Ada, C and C++, called GPS. There's a Press
Release, Quick Tour(pdf) and Detailed Tour. It's also apparently editor neutral, so I don't have to give up my beloved emacs... Sweet!"
I wish more IDEs allowed for plugin editors. When I am forced to use MSDev, I use the Vim plugin, but it doesn't seem to support all of the *good* features of MSDev.
as seen on slashdot
--
pants ahoy
Yes.
python -c "x='python -c %sx=%s; print x%%(chr(34),repr(x),chr(34))%s'; print x%(chr(34),repr(x),chr(34))"
this place makes jet planes, too!
fucking cool.
--
pants ahoy
Ada, eh?
I sincerly thought that this language was dead, along with Lisp, Fortran
and Cobol, the other dead dinosaurs-era "programming" languages.
A message from the system administrator: 'I've upped my priority. Now up yours.'
Anyone find out where they are redistributing the source code?
Look no further than Anjuta ( http://anjuta.sourceforge.net ). It integrates the build system, gdb, glade and Scintilla into one neat and consistent package.
/Janne
Trust the Computer. The Computer is your friend.
I have read that one good thing about Java is that it does not rely on pointers for memory management. Is that true?
:) -- the VERY FIRST THING I wanted to try to do was to "dereference" this NULL pointer.
Also, I recently have begun a C++ class and on the subject of pointers, the textbook says this:
Never dereference the "NULL" pointer.
Well, after reading that, I decided that -- being a total programming geek after all
Unfortunately, the textbook did not go into detail about how this could be accomplished -- no surprise there.
So can someone tell me what the probably outcomes of dereferncing &NULL would be? Is it really as dangerous as the book's author suggests?
(It occurred to me that it might have a similar effect to something that I read about a while, back -- "Tao of Windows Buffer Overflow" -- this article. )
So does anyone here know how to "dereference the NULL pointer"?
I would appreciate some detailed sample code.
Without the embarrassing emphasis on ADA.
Pay no attention to those other responses after I tell you this.
class foo
{
private:
double a;
public:
void Set_a(double a) {if (this != NULL) this->a = a;}
double Get_a() {if (this != NULL) return a; else return 0;}
}
declare
foo* my_foo = NULL;
and operate with
my_foo->Set_a() and my_foo_Get_a() to your heart's content. Sorry, this does not work with virtual methods, but otherwise, you Objective C guys with your default behavior on NULL objects, eat your hearts out.
"There's something very important I forgot to tell you."
"What?"
"Don't cross the streams."
"Why?"
"It would be bad."
"I'm fuzzy on the whole good-bad thing. Whattya mean 'bad?'"
"Try to imagine all life as you know it stopping instantaneously and every molecule in your body exploding at the speed of light."
"Total protonic reversal...."
"Right, that's bad...OK.. important safety tip. Thanks, Egon. "
./adam12