What programs do you use to program?

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jul 2006
Posts: 12
Reputation: Daan is an unknown quantity at this point 
Solved Threads: 0
Daan Daan is offline Offline
Newbie Poster

What programs do you use to program?

 
0
  #1
Jul 29th, 2006
I'm writing small command line programs that for instance numerically solve systems of differential equations. The programs are so simple, that I think it would be an overkill to use a development environment like MS Visual Studio or Anjunta. I'm progamming on a Linux computer, and I use Gedit to edit the source files and g++ to compile. Gedit nicely highlights C++ code and g++ tells me what lines contains errors, however, finding runtime errors in the code is a bit more tedious. Usually I have to insert cout << "Still works here"; in the code at several points and see if it prints. I remember from MSVS that it showed the place in the code were it went wrong with a big arrow. Quite handy. Do you know any program that does this on Linux computers?
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: What programs do you use to program?

 
0
  #2
Jul 29th, 2006
/usr/bin/gdb
This is the command line debugger.

/usr/bin/ddd
This is the 'visual' wrapper around gdb.
You can use this to point at lines of code, insert breakpoints, examine variables etc.
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 12
Reputation: Daan is an unknown quantity at this point 
Solved Threads: 0
Daan Daan is offline Offline
Newbie Poster

Re: What programs do you use to program?

 
0
  #3
Jul 30th, 2006
Thanks. That's very useful information.
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 10
Reputation: joe_blow is an unknown quantity at this point 
Solved Threads: 0
joe_blow joe_blow is offline Offline
Newbie Poster

Re: What programs do you use to program?

 
0
  #4
Aug 3rd, 2006
I've always used the free Borland compiler. I love it. You can write anything from simple commandline to full Window apps with it. I'm sorry I don't know if it's compatible with Linux though.
Last edited by joe_blow; Aug 3rd, 2006 at 9:00 am.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC