944,052 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 2161
  • C++ RSS
Jul 29th, 2006
0

What programs do you use to program?

Expand Post »
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?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Daan is offline Offline
12 posts
since Jul 2006
Jul 29th, 2006
0

Re: What programs do you use to program?

/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.
Team Colleague
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Salem is offline Offline
7,164 posts
since Dec 2005
Jul 30th, 2006
0

Re: What programs do you use to program?

Thanks. That's very useful information.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Daan is offline Offline
12 posts
since Jul 2006
Aug 3rd, 2006
0

Re: What programs do you use to program?

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
joe_blow is offline Offline
10 posts
since Aug 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: How can I get into programming?
Next Thread in C++ Forum Timeline: Passing a filestream, how?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC