<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Macintosh and C question - C++ - tribe.net</title>
    <link>http://cpp.tribe.net/thread/6bbd6b32-c822-46f2-b7ca-9cf2c8d2cb59?format=rss</link>
    <description>Tribe.net. Local Connections</description>
    <item>
      <title>Re: Macintosh and C question</title>
      <link>http://CPP.tribe.net/thread/6bbd6b32-c822-46f2-b7ca-9cf2c8d2cb59#6000cfd8-c594-4dd6-ab3a-c3b24fa38c63</link>
      <description>Alan,&#xD;
&#xD;
GDB will help a lot, once you get used to how to run it.  Apple's version has hooks that let XCode do the graphical debug thing, but that's Apple's own, and if you're ever on another *nix without XCode, knowing some basics on GDB will help.  If you post or send some of your C code, I can help you debug it if you wish.&#xD;
&#xD;
Regards,&#xD;
&#xD;
John&#xD;
&#xD;
Falling You - exploring the beauty of voice and sound&#xD;
http://www.fallingyou.com</description>
      <pubDate>Wed, 14 Dec 2005 02:57:24 GMT</pubDate>
      <guid isPermaLink="false">http://CPP.tribe.net/thread/6bbd6b32-c822-46f2-b7ca-9cf2c8d2cb59#6000cfd8-c594-4dd6-ab3a-c3b24fa38c63</guid>
      <dc:creator>John Michael</dc:creator>
      <dc:date>2005-12-14T02:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Macintosh and C question</title>
      <link>http://CPP.tribe.net/thread/6bbd6b32-c822-46f2-b7ca-9cf2c8d2cb59#7a68d7f3-b3e1-4a8b-a0d2-8c1d0b63fd54</link>
      <description>Excellent suggestion, Seth. Thank you! Since I've been working Matlab, I've had very little need for the debugger so I'm pretty unfamiliar. The C programs I'll be writing and working with will be run in the Unix environment. Do you guys think it would be best to use a debugger such as GNU's GDB or should i try something else?</description>
      <pubDate>Wed, 14 Dec 2005 02:29:14 GMT</pubDate>
      <guid isPermaLink="false">http://CPP.tribe.net/thread/6bbd6b32-c822-46f2-b7ca-9cf2c8d2cb59#7a68d7f3-b3e1-4a8b-a0d2-8c1d0b63fd54</guid>
      <dc:creator>$item.owner.firstName</dc:creator>
      <dc:date>2005-12-14T02:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Macintosh and C question</title>
      <link>http://CPP.tribe.net/thread/6bbd6b32-c822-46f2-b7ca-9cf2c8d2cb59#682a03fa-7dc1-4cc0-a57b-af401ba79ee2</link>
      <description>I would put in some print to screen statements such as "spot 1", "spot 2", "Got this far 1", "Got this far 2", etc. in various places in your code, in each loop for sure, and then run the code.  Then you can see how far into your code the program is running, or if it gets stuck in a loop, you will see the same "spot 5" or what ever a million times on your screen.&#xD;
&#xD;
Its worth trying...</description>
      <pubDate>Wed, 14 Dec 2005 01:37:51 GMT</pubDate>
      <guid isPermaLink="false">http://CPP.tribe.net/thread/6bbd6b32-c822-46f2-b7ca-9cf2c8d2cb59#682a03fa-7dc1-4cc0-a57b-af401ba79ee2</guid>
      <dc:creator>Seth</dc:creator>
      <dc:date>2005-12-14T01:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Macintosh and C question</title>
      <link>http://CPP.tribe.net/thread/6bbd6b32-c822-46f2-b7ca-9cf2c8d2cb59#f3eb9b2c-2159-4b96-8f8d-7cbb92e2c8e1</link>
      <description>Try tracing it with a debugger.</description>
      <pubDate>Tue, 13 Dec 2005 23:34:47 GMT</pubDate>
      <guid isPermaLink="false">http://CPP.tribe.net/thread/6bbd6b32-c822-46f2-b7ca-9cf2c8d2cb59#f3eb9b2c-2159-4b96-8f8d-7cbb92e2c8e1</guid>
      <dc:creator>Bob</dc:creator>
      <dc:date>2005-12-13T23:34:47Z</dc:date>
    </item>
    <item>
      <title>Macintosh and C question</title>
      <link>http://CPP.tribe.net/thread/6bbd6b32-c822-46f2-b7ca-9cf2c8d2cb59#68b69942-1197-45a0-a269-6d8e533c9297</link>
      <description>So, I'm in the process of learning C. I have about a year and a half of programming experience in Matlab.&#xD;
&#xD;
I'm working through Brian Kernighan's "The C Programming Language" and I keep running into problems with my programs hanging. They compile just  fine but I don't get any output. It's as if they're caught in a loop they can't get out of. I've double checked my code and it looks just fine (coming from the book).&#xD;
&#xD;
Anyone have any ideas? I'm working on a Mac G4 and compiling using gcc in unix. Love to hear any ideas.</description>
      <pubDate>Tue, 13 Dec 2005 23:17:30 GMT</pubDate>
      <guid isPermaLink="false">http://CPP.tribe.net/thread/6bbd6b32-c822-46f2-b7ca-9cf2c8d2cb59#68b69942-1197-45a0-a269-6d8e533c9297</guid>
      <dc:creator>$item.owner.firstName</dc:creator>
      <dc:date>2005-12-13T23:17:30Z</dc:date>
    </item>
  </channel>
</rss>



