<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com.gi/group/comp.lang.c++</id>
  <title type="text">comp.lang.c++ Google Group</title>
  <subtitle type="text">
  The object-oriented C++ language.
  </subtitle>
  <link href="/group/comp.lang.c++/feed/atom_v1_0_msgs.xml" rel="self" title="comp.lang.c++ feed"/>
  <updated>2008-11-23T10:26:36Z</updated>
  <generator uri="http://groups.google.com.gi" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Erik Wikström</name>
  <email>erik-wikst...@telia.com</email>
  </author>
  <updated>2008-11-23T10:26:36Z</updated>
  <id>http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/05348df748d0666a/2f8d278710433dd4?show_docid=2f8d278710433dd4</id>
  <link href="http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/05348df748d0666a/2f8d278710433dd4?show_docid=2f8d278710433dd4"/>
  <title type="text">Re: map</title>
  <summary type="html" xml:space="preserve">
  No, you have to use the make_pair() function: &lt;br&gt; cartesian_2d coord1 = make_pair(1,2); &lt;br&gt; cartesian_2d coord2 = make_pair(3,2);
  </summary>
  </entry>
  <entry>
  <author>
  <name>Patricia Shanahan</name>
  <email>p...@acm.org</email>
  </author>
  <updated>2008-11-23T10:02:46Z</updated>
  <id>http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/4017272356b778c8/36bd2584c6ae2550?show_docid=36bd2584c6ae2550</id>
  <link href="http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/4017272356b778c8/36bd2584c6ae2550?show_docid=36bd2584c6ae2550"/>
  <title type="text">Re: Who gets higher salary a Java Programmer or a C++ Programmer?</title>
  <summary type="html" xml:space="preserve">
  That is a good plan in the short term, but don&#39;t think in terms of &lt;br&gt; picking one language to use for your whole career. There is no way to &lt;br&gt; know which languages will be popular in 40 years time. &lt;br&gt; ... &lt;br&gt; High end programmer salaries depend on a lot of things, such as general &lt;br&gt; computer science knowledge, programming skill, luck, leadership skill,
  </summary>
  </entry>
  <entry>
  <author>
  <name>Bo Persson</name>
  <email>b...@gmb.dk</email>
  </author>
  <updated>2008-11-23T10:00:20Z</updated>
  <id>http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/7a2297048f73f37f/c19d547b54844ab2?show_docid=c19d547b54844ab2</id>
  <link href="http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/7a2297048f73f37f/c19d547b54844ab2?show_docid=c19d547b54844ab2"/>
  <title type="text">Re: g++4.3.2 w/ c++0x: error: no type named ‘iterator’ in ‘class std::unordered_map&lt;...&#39;</title>
  <summary type="html" xml:space="preserve">
  It just happened to work for std::map, even though it is not required. &lt;br&gt; The workaround would possibly be to store a pointer or a reference to &lt;br&gt; the cousin, instead of an iterator. &lt;br&gt; Bo Persson
  </summary>
  </entry>
  <entry>
  <author>
  <name>Bo Persson</name>
  <email>b...@gmb.dk</email>
  </author>
  <updated>2008-11-23T09:53:23Z</updated>
  <id>http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/68acd07a4e684a0b/5cf651c4cab86dc6?show_docid=5cf651c4cab86dc6</id>
  <link href="http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/68acd07a4e684a0b/5cf651c4cab86dc6?show_docid=5cf651c4cab86dc6"/>
  <title type="text">Re: memcpy equivalent in C++</title>
  <summary type="html" xml:space="preserve">
  Because they have heard that using memcpy will make their programs &lt;br&gt; extremely fast. And that this is very important. &lt;br&gt; Unfortunately they never heard anything about checking sizeof(dest) &lt;br&gt; first. :-( &lt;br&gt; Bo Persson
  </summary>
  </entry>
  <entry>
  <author>
  <name>Erik Wikström</name>
  <email>erik-wikst...@telia.com</email>
  </author>
  <updated>2008-11-23T09:41:45Z</updated>
  <id>http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/a935a80621fbc17c/1b0f99510197fa11?show_docid=1b0f99510197fa11</id>
  <link href="http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/a935a80621fbc17c/1b0f99510197fa11?show_docid=1b0f99510197fa11"/>
  <title type="text">Re: Why the copy assignment operator is written to return non-const reference to this?</title>
  <summary type="html" xml:space="preserve">
  Since when is it a bad practice? Operator overloading can help us hide &lt;br&gt; the fact that chaining is taking place but it&#39;s one of the prime &lt;br&gt; examples of when to use it. &lt;br&gt; Sure, there are times when it is bad style to use chaining, like some of &lt;br&gt; the cases you have shown, but I prefer consistency over special rules
  </summary>
  </entry>
  <entry>
  <author>
  <name>Alan Johnson</name>
  <email>aw...@yahoo.com</email>
  </author>
  <updated>2008-11-23T09:29:57Z</updated>
  <id>http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/7a2297048f73f37f/eea4b11cfa8caa63?show_docid=eea4b11cfa8caa63</id>
  <link href="http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/7a2297048f73f37f/eea4b11cfa8caa63?show_docid=eea4b11cfa8caa63"/>
  <title type="text">Re: g++4.3.2 w/ c++0x: error: no type named ‘iterator’ in ‘class std::unordered_map&lt;...&#39;</title>
  <summary type="html" xml:space="preserve">
  This may have changed in C++0X (I haven&#39;t checked), but in the 2003 &lt;br&gt; standard what you are doing is undefined behavior. You cannot &lt;br&gt; instantiate a template component for any of the standard library &lt;br&gt; templates with an incomplete type. Within the definition of My_data, &lt;br&gt; My_data is an incomplete type. &lt;br&gt; Reference 17.4.3.6.2 in the 2003 standard.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Erik Wikström</name>
  <email>erik-wikst...@telia.com</email>
  </author>
  <updated>2008-11-23T09:29:32Z</updated>
  <id>http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/5c046d062a0cd511/5e5d3b9e882c5ff7?show_docid=5e5d3b9e882c5ff7</id>
  <link href="http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/5c046d062a0cd511/5e5d3b9e882c5ff7?show_docid=5e5d3b9e882c5ff7"/>
  <title type="text">Re: Opposite of ! operator.</title>
  <summary type="html" xml:space="preserve">
  Your asking the wrong question. The real question is why you shouldn&#39;t &lt;br&gt; be allowed to overload the ! operator? Just because you can&#39;t find any &lt;br&gt; use for it does not mean that someone else can&#39;t, and remember, it does &lt;br&gt; not have to return a bool.
  </summary>
  </entry>
  <entry>
  <author>
  <name>peter koch</name>
  <email>peter.koch.lar...@gmail.com</email>
  </author>
  <updated>2008-11-23T09:27:08Z</updated>
  <id>http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/a935a80621fbc17c/e8c42c2dac3bcc2d?show_docid=e8c42c2dac3bcc2d</id>
  <link href="http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/a935a80621fbc17c/e8c42c2dac3bcc2d?show_docid=e8c42c2dac3bcc2d"/>
  <title type="text">Re: Why the copy assignment operator is written to return non-const reference to this?</title>
  <summary type="html" xml:space="preserve">
  </summary>
  </entry>
  <entry>
  <author>
  <name>Andrey Tarasevich</name>
  <email>andreytarasev...@hotmail.com</email>
  </author>
  <updated>2008-11-23T09:26:09Z</updated>
  <id>http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/a935a80621fbc17c/ccfd117f4ea22523?show_docid=ccfd117f4ea22523</id>
  <link href="http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/a935a80621fbc17c/ccfd117f4ea22523?show_docid=ccfd117f4ea22523"/>
  <title type="text">Re: Why the copy assignment operator is written to return non-const reference to this?</title>
  <summary type="html" xml:space="preserve">
  Since forever, of course. &amp;quot;Method chaining&amp;quot;, just like everything in &lt;br&gt; C++, is a technique that can be used correctly or incorrectly. When used &lt;br&gt; correctly, it is a good practice. &lt;br&gt; ... and there&#39;s absolutely no &amp;quot;abuse&amp;quot; in the above example, as far as &lt;br&gt; method chaining is concerned. &lt;br&gt; And? Obviously &#39;const&#39; will not help here anyway.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Singulus</name>
  <email>singu...@gmail.com</email>
  </author>
  <updated>2008-11-23T08:54:13Z</updated>
  <id>http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/a935a80621fbc17c/d2c662705eff2dc8?show_docid=d2c662705eff2dc8</id>
  <link href="http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/a935a80621fbc17c/d2c662705eff2dc8?show_docid=d2c662705eff2dc8"/>
  <title type="text">Re: Why the copy assignment operator is written to return non-const reference to this?</title>
  <summary type="html" xml:space="preserve">
  Since when method chaining is a good practice in C++? The whole point &lt;br&gt; of returning reference to this in the copy assignment operator is to &lt;br&gt; enable chaining of assignments, not to stack another thing to do &lt;br&gt; (member function calls for example). The const qualifier for the &lt;br&gt; return reference doen&#39;t solve the whole problem of calling member
  </summary>
  </entry>
  <entry>
  <author>
  <name>Default User</name>
  <email>defaultuse...@yahoo.com</email>
  </author>
  <updated>2008-11-23T07:53:09Z</updated>
  <id>http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/0d1e3b285693b7b9/1690314d066471de?show_docid=1690314d066471de</id>
  <link href="http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/0d1e3b285693b7b9/1690314d066471de?show_docid=1690314d066471de"/>
  <title type="text">Re: gotoxy in dev c++</title>
  <summary type="html" xml:space="preserve">
  I have no personal experience with it, but sourceforge lists an ncurses &lt;br&gt; for Windows project. &lt;br&gt; &amp;lt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://gnuwin32.sourceforge.net/packages/ncurses.htm&quot;&gt;[link]&lt;/a&gt;&amp;gt; &lt;br&gt; Brian
  </summary>
  </entry>
  <entry>
  <author>
  <name>Joy Maitland</name>
  <email>iiu...@yahoo.com</email>
  </author>
  <updated>2008-11-23T07:46:11Z</updated>
  <id>http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/05348df748d0666a/f4bcca0cfb0f34ab?show_docid=f4bcca0cfb0f34ab</id>
  <link href="http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/05348df748d0666a/f4bcca0cfb0f34ab?show_docid=f4bcca0cfb0f34ab"/>
  <title type="text">Re: map</title>
  <summary type="html" xml:space="preserve">
  On Sun, 23 Nov 2008 01:33:12 -0500, Kai-Uwe Bux &amp;lt;jkherci...@gmx.net&amp;gt; &lt;br&gt; wrote: &lt;br&gt; do i use these template lke this: &lt;br&gt; cartesian_2d coord1 = (1,2); &lt;br&gt; cartesian_2d coord2 = (3,2); &lt;br&gt; image_map map1; &lt;br&gt; map1.add(coord1, 1); &lt;br&gt; map1.add(coord2, 3);
  </summary>
  </entry>
  <entry>
  <author>
  <name>Kai-Uwe Bux</name>
  <email>jkherci...@gmx.net</email>
  </author>
  <updated>2008-11-23T06:33:12Z</updated>
  <id>http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/05348df748d0666a/a80617830fef7492?show_docid=a80617830fef7492</id>
  <link href="http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/05348df748d0666a/a80617830fef7492?show_docid=a80617830fef7492"/>
  <title type="text">Re: map</title>
  <summary type="html" xml:space="preserve">
  [snip] &lt;br&gt; What about: &lt;br&gt; typedef int x_coordinate; &lt;br&gt; typedef int y_coordinate; &lt;br&gt; typedef std::pair&amp;lt; x_coordinate, y_coordinate &amp;gt; cartesian_2d; &lt;br&gt; typedef std::map&amp;lt; cartesian_2d, imageID &amp;gt; image_map; &lt;br&gt; Best &lt;br&gt; Kai-Uwe Bux
  </summary>
  </entry>
  <entry>
  <author>
  <name>Joy Maitland</name>
  <email>iiu...@yahoo.com</email>
  </author>
  <updated>2008-11-23T06:02:13Z</updated>
  <id>http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/05348df748d0666a/a324b5296ca9c98a?show_docid=a324b5296ca9c98a</id>
  <link href="http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/05348df748d0666a/a324b5296ca9c98a?show_docid=a324b5296ca9c98a"/>
  <title type="text">map</title>
  <summary type="html" xml:space="preserve">
  I have an imageID and a pair of (X,Y) coordinate &lt;br&gt; how can I map( X,Y) coordinate as a key to imageID? &lt;br&gt; for example &lt;br&gt; (1,1) -&amp;gt; image1 &lt;br&gt; (2,1) -&amp;gt; image5 &lt;br&gt; (5,4) -&amp;gt; image12 &lt;br&gt; (1,9) -&amp;gt; image8 &lt;br&gt; ... etc &lt;br&gt; what Class object i should use? &lt;br&gt; any example code ?
  </summary>
  </entry>
  <entry>
  <author>
  <name>onLINES</name>
  <email>dopeli...@gmail.com</email>
  </author>
  <updated>2008-11-23T05:42:53Z</updated>
  <id>http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/215cee21ffc48d04/20f2456378fc535b?show_docid=20f2456378fc535b</id>
  <link href="http://groups.google.com.gi/group/comp.lang.c++/browse_thread/thread/215cee21ffc48d04/20f2456378fc535b?show_docid=20f2456378fc535b"/>
  <title type="text">Re: The following code causes an infinite loop. Can you spot the problem and explain why?</title>
  <summary type="html" xml:space="preserve">
  On Nov 23, 12:33 am, &amp;quot;doublemaster...@gmail.com&amp;quot; &lt;br&gt; Yes it does. It&#39;s syntactically incorrect (moreso, hard to understand) &lt;br&gt; as to why you&#39;d have virtual function within the base class, when the &lt;br&gt; base class has the same name. The compiler (bad one) would not know &lt;br&gt; what to do since both are virtual, and both contain the same name
  </summary>
  </entry>
</feed>
