Allegro.cc - Online Community

Allegro.cc Forums » Off-Topic Ordeals » Relo or Dev-C++

This thread is locked; no one can reply to it. rss feed Print
 1   2 
Relo or Dev-C++
Johan Halmén
Member #1,550
September 2001

...or anything else? I use Dev-C++ 5, despite some bugs and a mysterious debugger and a class browser that acts funny*.

I'm starting a programming class in the autumn and thought of putting together a package with an IDE, mingw and allegro. So, goods and bads about Relo and Dev-C++, please.

  • F.i. clicking on a member brings me to the .cpp file, clicking on another member brings me to the .h file, usually to the file that I don't want.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Years of thorough research have revealed that the red "x" that closes a window, really isn't red, but white on red background.

Years of thorough research have revealed that what people find beautiful about the Mandelbrot set is not the set itself, but all the rest.

X-G
Member #856
December 2000
avatar

cough*SciTE*cough

If you're going to teach people about programming, please teach them what a compiler is and how it works. We don't need more people who believe in the magical power of the IDE ...

--
Since 2008-Jun-18, democracy in Sweden is dead. | 悪霊退散!悪霊退散!怨霊、物の怪、困った時は ドーマン!セーマン!ドーマン!セーマン! 直ぐに呼びましょう陰陽師レッツゴー!

Richard Phipps
Member #1,632
November 2001
avatar

So SciTE is a pure text editor? How does it deal with projects and multiple source files in this case?

EDIT: Check out Easy Allegro by Spellcaster, Installs Allegro, Relo and sets it all up to work 'out of the box' for you.

X-G
Member #856
December 2000
avatar

SciTE is a text editor with some programming helpers, such as syntax highlighting for a whole bunch of languages, automatic indenting, code folding, intellisense, and such. If you have a makefile, compiling is just one press of F11 away.

SciTE sadly has no project support, something I'd much like to see myself, but it does have multi-file support. Files are easily accessible through a tab bar.

--
Since 2008-Jun-18, democracy in Sweden is dead. | 悪霊退散!悪霊退散!怨霊、物の怪、困った時は ドーマン!セーマン!ドーマン!セーマン! 直ぐに呼びましょう陰陽師レッツゴー!

Richard Phipps
Member #1,632
November 2001
avatar

Actually I'm a little suprised that aren't more free text editors and IDE's being used. With all the programmers out there I thought there would be a lot of choice but it seems there is not too many free alternatives. I.e. for free IDE everyone here seems to suggest Dev-C or Relo.

X-G
Member #856
December 2000
avatar

Programmers don't want to reinvent the wheel and duplicate effort ... if there's one good, free editor, why make another when you can just contribute to that one?

--
Since 2008-Jun-18, democracy in Sweden is dead. | 悪霊退散!悪霊退散!怨霊、物の怪、困った時は ドーマン!セーマン!ドーマン!セーマン! 直ぐに呼びましょう陰陽師レッツゴー!

Richard Phipps
Member #1,632
November 2001
avatar

Quote:

Programmers don't want to reinvent the wheel and duplicate effort

I don't neccessarily agree with that. Judging by the images of the day on Flipcode I would say there must be thousands of Terrain and other 3D engines built from scratch. ;)

We could have an IDE competition though, everyone makes their own ideal IDE. Shame most of us here are too lazy to even do a two day compo.. :D

spellcaster
Member #1,493
September 2001
avatar

Relo is a pretty nice IDE.
SciTe is a pretty nice texteditor.

If you want an IDE, use RELO. It comes with allegro support (even has a built-in allegro project) and gives you API help inside the editor.

For all your other textfile needs - SciTE will get the job done.

--
There are no stupid questions, but there are a lot of inquisitive idiots.

CGamesPlay
Member #2,559
July 2002
avatar

I wonder if anyone would notice if I turned in the source to MSVC.... ;)

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

Ashteth
Member #3,310
March 2003
avatar

Quote:

...or anything else? I use Dev-C++ 5, despite some bugs and a mysterious debugger and a class browser that acts funny*.

The class browser in Dev-C++ is admittedly buggy. Fortunately, I don't tend to use this feature when coding (I use CTRL-F instead).

I have found Dev-C++'s built in GDB debugger support to be quite good. If you intend to use the debugger, you will need to rebuild your project and libraries with debug information. From there, its just a matter of setting break points and highlighting variables to see their values. The debugger doesn't seem to work well with STL containers and it bloats executable and library size to astronomical levels (33+ megs for my current project!!!). Beyond these issues, the debugger works quite well and I have no complaints. You might want to google for a tutorial on GDB and/or the Dev-C++ debugger so that they cease to be such a mystery.

I tend to use Dev-C++ for all my C++ coding and Eclipse for Java/Python/Lua. Eclipse also supports GCC, so it might not be a bad all around generic IDE to look at.

The things I really like about Dev-C++ are project templates and the fact that it is highly customizable (I tend to use a really strange code coloring scheme). I also like the built in CVS support and the ability to add personal help menus.

I've tried Relo and don't really care for it, but this may be because I'm so used to Dev-C++. That said, you should definately give Spellcaster's "Easy Allegro" a close look. It might be what you're after. I'll stick with Dev-C++ though:)

Rick
Member #3,572
June 2003
avatar

Quote:

If you're going to teach people about programming, please teach them what a compiler is and how it works. We don't need more people who believe in the magical power of the IDE ...

This is microsofts fault. I started programming with microsoft and since they totaly hide the actual compiler within the IDE, you think the IDE is the compiler. First it's good, because you don't have to deal with command line (god I hate command line), but of course it's bad because you don't really know what's going on. Did I mention I hate command line tools?

The young programmers just aren't used to the command line. They prefer (as do I) the GUI.

========================================================
Actually I think I'm a tad ugly, but some women disagree, mostly Asians for some reason.

X-G
Member #856
December 2000
avatar

To be fair Microsoft didn't make the first IDE in the world ... :P but like I said, if this is for a course, you should teach people about the compiler and how things actually work; that's part of the point IMO.

--
Since 2008-Jun-18, democracy in Sweden is dead. | 悪霊退散!悪霊退散!怨霊、物の怪、困った時は ドーマン!セーマン!ドーマン!セーマン! 直ぐに呼びましょう陰陽師レッツゴー!

enric
Member #4,016
November 2003
avatar

Quote:

The young programmers just aren't used to the command line. They prefer (as do I) the GUI.

I think exactly the oppersit.

When I was a noob and even now i think a commandoline is just lovely and 10 times easier to use then an ide.
think of

gcc source1.cpp source2.cpp ... -llib1 -llib2 -o name -O

instead of going to project settings, libs, project options, further objects, figuring out where to set optimizations and if you change something in the whole ide mess you have to search for the bit you want to change hanging about in menus for 5 minutes. :P

in commando line you just have to change a few words. :D

Now I use makefiles (of course I don't type all stuff in every time)
when I was a noob I used batch files

______________________________________________________
My websites: Trufoli Games, Personal

Rick
Member #3,572
June 2003
avatar

In Visual C++ 6, I setup my libs once, and press 1 button to compile, and run. Plus I can place breakpoints on any line of code, and step through line by line (very very helpful). Are you a linux person? Linux people seem to be more inclined to use command line, than straight windows people.

========================================================
Actually I think I'm a tad ugly, but some women disagree, mostly Asians for some reason.

X-G
Member #856
December 2000
avatar

Am I the only one who doesn't find breakpoints or stepping through line-by-line useful at all?

--
Since 2008-Jun-18, democracy in Sweden is dead. | 悪霊退散!悪霊退散!怨霊、物の怪、困った時は ドーマン!セーマン!ドーマン!セーマン! 直ぐに呼びましょう陰陽師レッツゴー!

spellcaster
Member #1,493
September 2001
avatar

Maybe you're the only one writing bug-free code?

--
There are no stupid questions, but there are a lot of inquisitive idiots.

Rick
Member #3,572
June 2003
avatar

How can you not? I would much rather do that then write to any kind of log.

========================================================
Actually I think I'm a tad ugly, but some women disagree, mostly Asians for some reason.

Oscar Giner
Member #2,207
April 2002
avatar

Then how do you debug? I find annoying having to add printf's all over the place. Breakpoints + line-by-line are useful when solving some kind of logic bugs (More than once these have helped me a lot in problems that would had took me much more time).

While I agree with you that starting with command line is a better learning exercise, when you're experienced using an IDE helps, specially with large projects.

enric
Member #4,016
November 2003
avatar

Quote:

Are you a linux person?

I am multiplatform ;D

______________________________________________________
My websites: Trufoli Games, Personal

X-G
Member #856
December 2000
avatar

Quote:

when you're experienced using an IDE helps, specially with large projects.

I agree fully. But these are not experienced people, there are noobs, and they need to be taught how things work first of all, then they can advance to using tools to make things faster.

--
Since 2008-Jun-18, democracy in Sweden is dead. | 悪霊退散!悪霊退散!怨霊、物の怪、困った時は ドーマン!セーマン!ドーマン!セーマン! 直ぐに呼びましょう陰陽師レッツゴー!

Ashteth
Member #3,310
March 2003
avatar

I agree let's frustrate them to the point that they decide to use Dark Basic...

Rick
Member #3,572
June 2003
avatar

Ashteth, has a point. You have to have a nice balance. I don't know much about compilers, but I can still program. Alot of people might quit to soon if you slam them with certain topics. Teaching well is probably the hardest thing to do.

========================================================
Actually I think I'm a tad ugly, but some women disagree, mostly Asians for some reason.

clovekx
Member #3,479
April 2003
avatar

You can search for Visual Mingw

x-g said:

But these are not experienced people, there are noobs, and they need to be taught how things work first of all, then they can advance to using tools to make things faster.

So you want them not to use IDE? So they should begin with machine code. And they absolutely cannot use allegro because it's too hight level.

Have you ever tought someone? Have you ever tought a group of people that didn't know anything about programming?

Oscar Giner
Member #2,207
April 2002
avatar

Quote:

Have you ever tought someone? Have you ever tought a group of people that didn't know anything about programming?

I guess that includes most people in first year CE. Here java is teached, using command line to compile, in linux, and with emacs as the editor. It seems to give pretty good results.

[edit]
Then they teach c++, now in a Solaris computer. Again no IDE. But now you pick between emacs or vi. Lately they installed nedit, but I still prefered to use emacs.

Rick
Member #3,572
June 2003
avatar

Quote:

Here java is teached, using command line to compile, in linux, and with emacs as the editor

yuck

taught is the word instead of teached you are looking for
just trying to help :)

========================================================
Actually I think I'm a tad ugly, but some women disagree, mostly Asians for some reason.

 1   2 


Go to: