<?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>kind soul to help w/ homework? - C++ - tribe.net</title>
    <link>http://cpp.tribe.net/thread/9bbe9e93-9583-4f44-ac47-104e90d7fd10?format=rss</link>
    <description>Tribe.net. Local Connections</description>
    <item>
      <title>Re: kind soul to help w/ homework?</title>
      <link>http://CPP.tribe.net/thread/9bbe9e93-9583-4f44-ac47-104e90d7fd10#d6c87008-840f-4eda-80c9-19ef17b318cb</link>
      <description>What he said.  Sometimes it can be very hard to spot.&#xD;
&#xD;
Sounds like you haven't found exactly what the compiler is griping about.  If it's a complex expression break it into multiple lines by placing each part of the expression in a local or use parens &amp;amp;(expression) instead of &amp;amp;expression.  Also some explicit casts may point out what the compiler is thinking.</description>
      <pubDate>Fri, 06 May 2005 01:03:55 GMT</pubDate>
      <guid isPermaLink="false">http://CPP.tribe.net/thread/9bbe9e93-9583-4f44-ac47-104e90d7fd10#d6c87008-840f-4eda-80c9-19ef17b318cb</guid>
      <dc:creator>Hypno</dc:creator>
      <dc:date>2005-05-06T01:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: kind soul to help w/ homework?</title>
      <link>http://CPP.tribe.net/thread/9bbe9e93-9583-4f44-ac47-104e90d7fd10#5d187134-d7b2-45d6-8966-7d21c733ec65</link>
      <description>If you have an expression FOO-&gt;BAR then FOO must be one of two things. It must be a pointer to a class, structure or union type, or it must be an object that provides a custom -&gt; operator.&#xD;
&#xD;
The designers of C decided to have different member selection operators for accessing an object directly or through a pointer, and C++ retains that design decision.  If FOO is a struct, class or union object, then FOO.BAR accesses member BAR. If FOO is a pointer to such an object then you use FOO-&gt;BAR.&#xD;
&#xD;
A common programming mistake is to use the wrong one: to apply a . to a pointer, or -&gt; to a non-pointer. &#xD;
&#xD;
Maybe that is what is wrong in your program: that you want to be using the . operator instead of the -&gt; operator.</description>
      <pubDate>Fri, 06 May 2005 00:18:14 GMT</pubDate>
      <guid isPermaLink="false">http://CPP.tribe.net/thread/9bbe9e93-9583-4f44-ac47-104e90d7fd10#5d187134-d7b2-45d6-8966-7d21c733ec65</guid>
      <dc:creator>Kaz</dc:creator>
      <dc:date>2005-05-06T00:18:14Z</dc:date>
    </item>
    <item>
      <title>kind soul to help w/ homework?</title>
      <link>http://CPP.tribe.net/thread/9bbe9e93-9583-4f44-ac47-104e90d7fd10#58752117-9302-4231-aa7e-f1df8bda3333</link>
      <description>Out of ideas…&#xD;
Hello. I’ve been working on a program for a class (and using a class at that) that translates prefix to postfix using a LinkedList stack.  We are supposed to create a stack class &amp;amp; use it to perform the task. My solution is not eloquent, but I can’t even find out IF it will work because it won’t compile, even after many rounds of “The power of Christ compiles you!”  *sigh*&#xD;
&#xD;
I’m using .NET environment for first time (it really isn’t winning me over) &amp;amp; wondering if its related? I get this error message:&#xD;
“error C2227: left of '-&gt;TopFlag' must point to class/struct/union” paired with “error C2819: type 'stackType' does not have an overloaded member 'operator -&gt;'”  for each line where I referece my class object (mystack).  It seems clear it isn’t recognizing my class object, but I don’t know why – i.e. error in declaration, error with linking.&#xD;
&#xD;
The class files compile fine, but when I try to compile whole project it crashes. The instructor has looked at it &amp;amp; says “I ‘dunno” *grrr* it’s a small program. &#xD;
&#xD;
Any chance someone out there would take a look at it &amp;amp; see if something jumps out? I can email text or .cpp files.  Thanks a ton,&#xD;
Rihanha</description>
      <pubDate>Thu, 05 May 2005 23:45:08 GMT</pubDate>
      <guid isPermaLink="false">http://CPP.tribe.net/thread/9bbe9e93-9583-4f44-ac47-104e90d7fd10#58752117-9302-4231-aa7e-f1df8bda3333</guid>
      <dc:creator>Rihanha</dc:creator>
      <dc:date>2005-05-05T23:45:08Z</dc:date>
    </item>
  </channel>
</rss>



