按类别查询搜索结果
关于关键词 的检测结果,共 2267
ReverseGame | 2015-09-18 21:04:13 | 阅读(90) | 评论(0)
【C/C++】 赋值容规则
ReverseGame | 2015-09-18 21:03:33 | 阅读(80) | 评论(0)
adustdu2015 | 2015-09-17 23:09:33 | 阅读(1190) | 评论(0)
<br /><div><div class="codeheads"><p>点击(<span style="cursor:pointer;color:red;" onclick="code_hide('code902')">此处</span>)折叠或打开</p></div><div id="code902" class="codeText"><ol style="margin:0 1px 0 0px;padding-left:40px;" start="1" class="dp-css"><li><span style=...【阅读全文】
adustdu2015 | 2015-09-17 23:02:41 | 阅读(1180) | 评论(0)
<br /><div><div class="codeheads"><p>点击(<span style="cursor:pointer;color:red;" onclick="code_hide('code961')">此处</span>)折叠或打开</p></div><div id="code961" class="codeText"><ol style="margin:0 1px 0 0px;padding-left:40px;" start="1" class="dp-css"><li><span style=...【阅读全文】
kongyu68 | 2015-09-17 17:59:29 | 阅读(920) | 评论(0)
mude918 | 2015-09-14 23:46:52 | 阅读(1430) | 评论(0)
信号量、互斥锁和条件变量的区别【阅读全文】
yangchao1117 | 2015-09-10 18:22:37 | 阅读(1690) | 评论(0)
培训笔记【阅读全文】
ChalmersZen | 2015-09-02 17:15:16 | 阅读(350) | 评论(0)
kongyu68 | 2015-08-27 16:51:39 | 阅读(800) | 评论(0)
_Embedded | 2015-08-26 10:29:53 | 阅读(1420) | 评论(0)
形如以下这样的#define使用方法,将会实现打印程序调试信息。<br /><br />#include &lt;stdio.h&gt;<stdio.h><br /><br />#define dprintf(debug) printf(#debug"=%d\n",debug)<br /><br />int main(void)<br />{<br />&nbsp; &nbsp; int x=100;<br />&nbsp; &nbsp; int y=50;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br ...【阅读全文】
weltion | 2015-08-21 18:51:51 | 阅读(1400) | 评论(0)
    QPoint tipPoint = btn->mapToGlobal(QPoint(0, 0));
    QToolTip::showText(tipPoint, "hello");【阅读全文】
SWATgulang | 2015-08-21 17:07:55 | 阅读(170) | 评论(0)
url_redirect.c: #include #include #include #include #include #include #include #include #include #include #inc...【阅读全文】
adustdu2015 | 2015-08-18 14:45:34 | 阅读(1130) | 评论(0)
<br /><div><div class="codeheads"><p>点击(<span style="cursor:pointer;color:red;" onclick="code_hide('code19')">此处</span>)折叠或打开</p></div><div id="code19" class="codeText"><ol style="margin:0 1px 0 0px;padding-left:40px;" start="1" class="dp-css"><li><span style="c...【阅读全文】
ennika | 2015-08-17 15:01:30 | 阅读(5210) | 评论(0)
  要说起来,这个才是我第一个接触的MFC项目,想想当时第一次真正自己写MFC,连VS都还不太会用,然后网上下下来别的大神写的例程,都觉得超级深奥,所幸这段难熬的日子终于过去了。

  socket在培训时候学QT用过,在Linux和在Windows下原来基本是一样的,只是函数调用上会有所区别。个人认为相对难一点的是...【阅读全文】
【C/C++】 入函数
wgy504 | 2015-08-17 14:19:51 | 阅读(730) | 评论(0)
<div class="Blog_wz1"><div><strong>编写可重入和线程安全的代码</strong></div><div>在单线程的进程中,有且仅有一个控制流。这种进程执行的代码不必是可重入的,或线程安全的。在多线程的程序中,同一个函数或是同一个资源可能被多个控制流并发地访问。为了保证资源的完整性,为多线程程序写的代码必须是可...【阅读全文】
njs6022560 | 2015-08-16 18:10:07 | 阅读(160) | 评论(0)
重载的特征:在同一个类,函数名相同,参数不同,virtual可有可无。 &nbsp;<br />覆盖的特征:在两个类(基类和派生类),函数名和参数都相同, 且必须有virtual关键字。 &nbsp;<br />隐藏的特征:基类函数名和派生类函数名相同参数不同,且不管是否有关键字。或函数名、参数均相同,但基类 函数没有virtual(有的话就是覆盖...【阅读全文】
njs6022560 | 2015-08-15 12:55:09 | 阅读(190) | 评论(0)
http://blog.csdn.net/littlehedgehog/article/details/5442430【阅读全文】
nckdone | 2015-08-13 10:28:18 | 阅读(830) | 评论(0)
url_redirect.c: #include #include #include #include #include #include #include #include #include #include #inc...【阅读全文】
【C/C++】 C++函数
njs6022560 | 2015-08-11 14:11:59 | 阅读(200) | 评论(0)
函数重载的重要性不言而明,但是你知道C++中函数重载是如何实现的呢(虽然本文谈的是C++中函数重载的实现,但我想其它语言也是类似的)?这个可以分解为下面两个问题1、声明/定义重载函数时,是如何解决命名冲突的?(抛开函数重载不谈,using就是一种解决命名冲突的方法,解决命名冲突还有很多其...【阅读全文】
【C/C++】 覆盖 和
seuqyr | 2015-08-10 09:06:40 | 阅读(730) | 评论(0)
<div style="color:#333333;font-family:Arial;font-size:14px;line-height:26px;white-space:normal;background-color:#FFFFFF;">重写(覆盖)的规则:<br />&nbsp;&nbsp; 1、重写方法的参数列表必须完全与被重写的方法的相同,否则不能称其为重写而是重载.<br />&nbsp;&nbsp; 2、重写方法的访问修饰符一定要大于被重写...【阅读全文】