<rss version="2.0">
<channel>
<title>cn.comp.lang.vc</title>
<link>http://www.nnseek.com/e/cn.comp.lang.vc/</link>
<description>Posts for cn.comp.lang.vc</description>
<lastBuildDate>Mon, 12 May 2008 00:15:33 PDT</lastBuildDate>
  <image>
    <title>http://www.nnseek.com/</title>
    <link>http://www.nnseek.com/</link>
    <url>http://www.nnseek.com/img/64.png</url>
    <width>64</width>
    <height>64</height>
    <description>NNSeek</description>
  </image>
<item>
	<title><![CDATA[TAG Heuer replica watches]]></title>
	<guid>http://www.nnseek.com/e/cn.comp.lang.vc/tag_heuer_replica_watches_121192593t.html</guid>
	<link>http://www.nnseek.com/e/cn.comp.lang.vc/tag_heuer_replica_watches_121192593t.html</link>
	<description><![CDATA[TAG Heuer replica watches - Fake Watches<br><br><a href="http://www.precisionreplicas.com/products_all.asp?EnBigClassName=Tag%%20Heuer" rel="nofollow" class="url" target="_blank">http://www.precisionreplicas.com/products_all.asp?EnBigClassName=Tag%%20Heuer</a><br><br><a href="http://www.precisionreplicas.com" rel="nofollow" class="url" target="_blank">http://www.precisionreplicas.com</a><br><br>In1860,Heuer Watches<br>
    <table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="30">&nbsp;</td>
        <td>Posted In: <a href="http://www.nnseek.com/e/cn.comp.lang.vc/">cn.comp.lang.vc</a></td>
        <td width="20">&nbsp;</td>
        <td><a href="http://www.nnseek.com/e/cn.comp.lang.vc/tag_heuer_replica_watches_121192593t.html">no comments</a></td>
        <td width="20">&nbsp;</td>
        <td><a href="http://www.nnseek.com/e/cn.comp.lang.vc/tag_heuer_replica_watches_121192593m.html">Reply</a></td>
      </tr></table><br>]]></description>
	<pubDate>Mon, 12 May 2008 00:15:33 PDT</pubDate>
</item>
<item>
	<title><![CDATA[goatse]]></title>
	<guid>http://www.nnseek.com/e/cn.comp.lang.vc/goatse_107958161t.html</guid>
	<link>http://www.nnseek.com/e/cn.comp.lang.vc/goatse_107958161t.html</link>
	<description><![CDATA[PORNOLATION RELEASE<br><br>
    <table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="30">&nbsp;</td>
        <td>Posted In: <a href="http://www.nnseek.com/e/cn.comp.lang.vc/">cn.comp.lang.vc</a></td>
        <td width="20">&nbsp;</td>
        <td><a href="http://www.nnseek.com/e/cn.comp.lang.vc/goatse_107958161t.html">no comments</a></td>
        <td width="20">&nbsp;</td>
        <td><a href="http://www.nnseek.com/e/cn.comp.lang.vc/goatse_107958161m.html">Reply</a></td>
      </tr></table><br>]]></description>
	<pubDate>Sat, 01 Mar 2008 10:45:47 PST</pubDate>
</item>
<item>
	<title><![CDATA[谁对 Windows 下的串口通信比较熟悉? 帮忙看看]]></title>
	<guid>http://www.nnseek.com/e/cn.comp.lang.vc/_85_windows_8287419239_6433_97644177t.html</guid>
	<link>http://www.nnseek.com/e/cn.comp.lang.vc/_85_windows_8287419239_6433_97644177t.html</link>
	<description><![CDATA[编程的环境是在 Windows 下对串口进行读写的操作.<br><br><br>//开始的事件是这样声明的<br> OVERLAPPED m_osWrite;<br> m_osWrite.hEvent = CreateEvent(NULL,TRUE,FALSE,NULL);<br><br>//调用的代码:<br>//////////////////////////////////////////////////////////<br><br> if(m_pDevice->m_strDeviceModel == "yyyyy")<br> {<br>  strcpy(sBuf,"MA!");<br>  dwLength = 3;<br> }<br><br> int fState;<br> DWORD dwBytesWritten = 0;//实际发送字节数<br> DWORD dwErrors = 0;<br> try<br> {<br>  m_port.ClearError(dwErrors);<br>  if (dwErrors != 0)<br>  {<br>   dwErrors = 0;<br>  }<br>  fState = m_port.Write(sBuf,dwLength,m_osWrite);// 写串口 通常在这里出错<br>                                                 // 错误是无效句柄和/或 error 6, <br>                                                 // 但 m_port 的句柄明明是有的<br>                                                 // 否则前面不可能打开端口成功...<br>                                                 // Write 函数调用的是一个现成的程序段,<br>                                                 // 内容见下.<br>  if(!fState)<br>  {<br>   if(GetLastError()==ERROR_IO_PENDING)<br>   {<br>    m_port.GetOverlappedResult(m_osWrite,dwBytesWritten,TRUE); //等待<br>   }<br>  }<br> }<br> catch (CSerialException* pEx)<br> {<br>  pEx->Delete();<br>  return;<br> }<br> if(dwBytesWritten != dwLength)//发送数据长度不符<br> {<br>  m_port.Purge(PURGE_TXCLEAR | PURGE_TXABORT);//清除发送缓存内容<br> }<br><br><br>上面程序调用的 Write 程序段如下<br>BOOL CSerialPort::Write(const void* lpBuf, DWORD dwCount, OVERLAPPED& overlapped)<br>{<br>  ASSERT(IsOpen());<br>  ASSERT(m_bOverlapped);<br>  ASSERT(overlapped.hEvent);<br><br>  DWORD dwBytesWritten = 0;<br>  BOOL bSuccess = WriteFile(m_hComm, lpBuf, dwCount, &dwBytesWritten, &overlapped);<br>  if (!bSuccess)<br>  {<br>    if (GetLastError() != ERROR_IO_PENDING)<br>    {<br>      TRACE(_T("Failed in call to WriteFile\n"));  // <-- 有时候会进到这里...<br>      AfxThrowSerialException();<br>    }<br>  }<br>  return bSuccess;<br>}<br><br>调试时会发生 Invalidate handle 或是 error 6 这样的错误, 但看串口的句柄, 在之前都是存在的, 串口肯定是正确打开的. 出错通常都是写端口时发生, 但偶尔也在别的地方发生, 串口通信和打开使用 overlapped 模式. 串口本身肯定没问题, 可以用 HyperTerm 正常的通信. 写串口的程序是单独的一个线程. <br><br>请问造成错误的原因可能是什么呢? 谢谢<br><br>
    <table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="30">&nbsp;</td>
        <td>Posted In: <a href="http://www.nnseek.com/e/cn.comp.lang.vc/">cn.comp.lang.vc</a></td>
        <td width="20">&nbsp;</td>
        <td><a href="http://www.nnseek.com/e/cn.comp.lang.vc/_85_windows_8287419239_6433_97644177t.html"><b>9</b> Comments</a></td>
        <td width="20">&nbsp;</td>
        <td><a href="http://www.nnseek.com/e/cn.comp.lang.vc/_85_windows_8287419239_6433_97644177m.html">Reply</a></td>
      </tr></table><br>]]></description>
	<pubDate>Fri, 04 Jan 2008 07:06:33 PST</pubDate>
</item>
<item>
	<title><![CDATA[gcc不能区分正数和负数 (z)]]></title>
	<guid>http://www.nnseek.com/e/cn.comp.lang.vc/gcc350545215_z_91242897t.html</guid>
	<link>http://www.nnseek.com/e/cn.comp.lang.vc/gcc350545215_z_91242897t.html</link>
	<description><![CDATA[很有趣的发现, 呵呵, <br>转自 Solidot <a href="http://linux.solidot.org/article.pl?sid=07/11/19/0512218&amp;from=rss" rel="nofollow" class="url" target="_blank">http://linux.solidot.org/article.pl?sid=07/11/19/0512218&amp;from=rss</a> :<br><br><br>linux程序不能区分正数和负数，例如，-10和10会被认为是相等的。真的是这样吗？试试以下的C代码：<br>  int main () {<br>                  int i=2;<br>                  if( -10*abs (i-1) == 10*abs(i-1) )<br>                                  printf ("OMG,-10==10 in linux!\n");<br>                  else<br>                                  printf ("nothing special here\n");<br>  } <br>同样的C代码，在windows和unix系统中编译运行的结果是nothing special here，只有linux得到是-10==10。<br>恩，我们的gcc在这里犯了一个低级错误。<br>
    <table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="30">&nbsp;</td>
        <td>Posted In: <a href="http://www.nnseek.com/e/cn.comp.lang.vc/">cn.comp.lang.vc</a></td>
        <td width="20">&nbsp;</td>
        <td><a href="http://www.nnseek.com/e/cn.comp.lang.vc/gcc350545215_z_91242897t.html"><b>8</b> Comments</a></td>
        <td width="20">&nbsp;</td>
        <td><a href="http://www.nnseek.com/e/cn.comp.lang.vc/gcc350545215_z_91242897m.html">Reply</a></td>
      </tr></table><br>]]></description>
	<pubDate>Mon, 19 Nov 2007 02:31:52 PST</pubDate>
</item>
<item>
	<title><![CDATA[&Icirc;&ordf;&Ecirc;&sup2;&Atilde;&acute;&Egrave;&Euml;&Otilde;&acirc;&Atilde;&acute;&Eacute;&Ugrave;&pound;&iquest;&pound;&iquest;&pound;&iquest;&pound;&iquest;]]></title>
	<guid>http://www.nnseek.com/e/cn.comp.lang.vc/_136_4_68384_60_89913489t.html</guid>
	<link>http://www.nnseek.com/e/cn.comp.lang.vc/_136_4_68384_60_89913489t.html</link>
	<description><![CDATA[ÎÒ×òÌìÔ¤¶¨ÁËÕâ¸öÐÂÎÅ×é£¬ÒÔÎªÓÊ¼þ»á¶àµÄÈÃÎÒ¿´²»À´£¬Ã»Ïëµ½Ò»ÌìÒ»¸öÐÂÖ÷Ìâ¶¼Ã»ÓÐ¡£¡£ÕæÃ»ÈËÆø°¡¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£ <br><br><br>
    <table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="30">&nbsp;</td>
        <td>Posted In: <a href="http://www.nnseek.com/e/cn.comp.lang.vc/">cn.comp.lang.vc</a></td>
        <td width="20">&nbsp;</td>
        <td><a href="http://www.nnseek.com/e/cn.comp.lang.vc/_136_4_68384_60_89913489t.html"><b>1</b> Comment</a></td>
        <td width="20">&nbsp;</td>
        <td><a href="http://www.nnseek.com/e/cn.comp.lang.vc/_136_4_68384_60_89913489m.html">Reply</a></td>
      </tr></table><br>]]></description>
	<pubDate>Tue, 13 Nov 2007 04:12:30 PST</pubDate>
</item>
<item>
	<title><![CDATA[Google Video Downloader KEYGEN  1247   [1/2]]]></title>
	<guid>http://www.nnseek.com/e/cn.comp.lang.vc/google_video_downloader_keygen_1247_1_2_84744081t.html</guid>
	<link>http://www.nnseek.com/e/cn.comp.lang.vc/google_video_downloader_keygen_1247_1_2_84744081t.html</link>
	<description><![CDATA[<br>chddjdcciffucgevlcisdlfjodhxthbojwd<br><br>
    <table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="30">&nbsp;</td>
        <td>Posted In: <a href="http://www.nnseek.com/e/cn.comp.lang.vc/">cn.comp.lang.vc</a></td>
        <td width="20">&nbsp;</td>
        <td><a href="http://www.nnseek.com/e/cn.comp.lang.vc/google_video_downloader_keygen_1247_1_2_84744081t.html">no comments</a></td>
        <td width="20">&nbsp;</td>
        <td><a href="http://www.nnseek.com/e/cn.comp.lang.vc/google_video_downloader_keygen_1247_1_2_84744081m.html">Reply</a></td>
      </tr></table><br>]]></description>
	<pubDate>Fri, 19 Oct 2007 15:32:05 PDT</pubDate>
</item>
<item>
	<title><![CDATA[二进制文件格式设计问题]]></title>
	<guid>http://www.nnseek.com/e/cn.comp.lang.vc/_57730842994_83968145t.html</guid>
	<link>http://www.nnseek.com/e/cn.comp.lang.vc/_57730842994_83968145t.html</link>
	<description><![CDATA[问个问题, 有数据要保存成文件, 数据是一组一组的, 每组数据由几个浮点数组成, 每小时保存一个二进制文件, 需要以后能方便的找出某个时候写进的某组数据.<br><br>现在的问题是, 由于每组数据长度不同, 分割这些数据有困难, 有没有比较好的方法设计这个二进制文件的格式呢?<br><br>谢谢~<br>
    <table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="30">&nbsp;</td>
        <td>Posted In: <a href="http://www.nnseek.com/e/cn.comp.lang.vc/">cn.comp.lang.vc</a></td>
        <td width="20">&nbsp;</td>
        <td><a href="http://www.nnseek.com/e/cn.comp.lang.vc/_57730842994_83968145t.html"><b>33</b> Comments</a></td>
        <td width="20">&nbsp;</td>
        <td><a href="http://www.nnseek.com/e/cn.comp.lang.vc/_57730842994_83968145m.html">Reply</a></td>
      </tr></table><br>]]></description>
	<pubDate>Tue, 16 Oct 2007 22:31:10 PDT</pubDate>
</item>
<item>
	<title><![CDATA[New Apple ipod nano]]></title>
	<guid>http://www.nnseek.com/e/cn.comp.lang.vc/new_apple_ipod_nano_82312337t.html</guid>
	<link>http://www.nnseek.com/e/cn.comp.lang.vc/new_apple_ipod_nano_82312337t.html</link>
	<description><![CDATA[<br>
    <table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="30">&nbsp;</td>
        <td>Posted In: <a href="http://www.nnseek.com/e/cn.comp.lang.vc/">cn.comp.lang.vc</a></td>
        <td width="20">&nbsp;</td>
        <td><a href="http://www.nnseek.com/e/cn.comp.lang.vc/new_apple_ipod_nano_82312337t.html">no comments</a></td>
        <td width="20">&nbsp;</td>
        <td><a href="http://www.nnseek.com/e/cn.comp.lang.vc/new_apple_ipod_nano_82312337m.html">Reply</a></td>
      </tr></table><br>]]></description>
	<pubDate>Sat, 06 Oct 2007 18:19:33 PDT</pubDate>
</item>
<item>
	<title><![CDATA[How i built muscle quickly]]></title>
	<guid>http://www.nnseek.com/e/cn.comp.lang.vc/how_i_built_muscle_quickly_82292113t.html</guid>
	<link>http://www.nnseek.com/e/cn.comp.lang.vc/how_i_built_muscle_quickly_82292113t.html</link>
	<description><![CDATA[<br>
    <table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="30">&nbsp;</td>
        <td>Posted In: <a href="http://www.nnseek.com/e/cn.comp.lang.vc/">cn.comp.lang.vc</a></td>
        <td width="20">&nbsp;</td>
        <td><a href="http://www.nnseek.com/e/cn.comp.lang.vc/how_i_built_muscle_quickly_82292113t.html">no comments</a></td>
        <td width="20">&nbsp;</td>
        <td><a href="http://www.nnseek.com/e/cn.comp.lang.vc/how_i_built_muscle_quickly_82292113m.html">Reply</a></td>
      </tr></table><br>]]></description>
	<pubDate>Sat, 06 Oct 2007 16:17:45 PDT</pubDate>
</item>
<item>
	<title><![CDATA[Sending Faxes over the internet]]></title>
	<guid>http://www.nnseek.com/e/cn.comp.lang.vc/sending_faxes_over_the_internet_82267281t.html</guid>
	<link>http://www.nnseek.com/e/cn.comp.lang.vc/sending_faxes_over_the_internet_82267281t.html</link>
	<description><![CDATA[<br>
    <table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="30">&nbsp;</td>
        <td>Posted In: <a href="http://www.nnseek.com/e/cn.comp.lang.vc/">cn.comp.lang.vc</a></td>
        <td width="20">&nbsp;</td>
        <td><a href="http://www.nnseek.com/e/cn.comp.lang.vc/sending_faxes_over_the_internet_82267281t.html">no comments</a></td>
        <td width="20">&nbsp;</td>
        <td><a href="http://www.nnseek.com/e/cn.comp.lang.vc/sending_faxes_over_the_internet_82267281m.html">Reply</a></td>
      </tr></table><br>]]></description>
	<pubDate>Sat, 06 Oct 2007 14:02:59 PDT</pubDate>
</item>
</channel>
</rss>