<?xml version="1.0" encoding="GB2312"  ?>

			<rss version="2.0">

			<channel>

			<title>ChinaUnix.net - C/C++</title>

			<link>http://bbs.chinaunix.net/forumdisplay.php?fid=23</link>

			<description><![CDATA[C是世界上使用最广泛计算机语言。C的面向对象的扩展称为C++。]]></description>
			<managingEditor>admin2@staff.chinaunix.net</managingEditor>

			<webMaster>admin2@staff.chinaunix.net</webMaster>

			<lastBuildDate>2010-02-09 16:02:04</lastBuildDate>
<item>

				<title>谁能帮我把这警告去掉? </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=1664788</link>

  				<author>yylogo</author>
  				<pubDate>2010-02-09 15:53:51</pubDate>
				<description><![CDATA[

				作者: yylogo

				发表于: 2010-02-09 15:53:51 (GMT 8)

				简介：谁能帮我把这警告去掉?
 现在学数据结构,, 想写一个计算器,, 于是我就开始写...
但是才下手就发现有一个去不掉的警告....
三个文件: stack.h input.h cal.c

stack.h:[code]#include <stdio.h>
#include <stdlib.h>

#ifndef _STACK_H__
#define _STACK_H__

#

				]]></description>

				</item>
<item>

				<title>Linux/UNIX 的机器上，进行 C/C++ 编程的一些入门级知识 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=1664776</link>

  				<author>liyihongcug</author>
  				<pubDate>2010-02-09 15:32:29</pubDate>
				<description><![CDATA[

				作者: liyihongcug

				发表于: 2010-02-09 15:32:29 (GMT 8)

				简介：[i=s] 本帖最后由 liyihongcug 于 2010-02-09 15:34 编辑 [/i]

下在Linux/UNIX 的机器上，进行 C/C++ 编程的一些入门级知识。

· 所需具备的背景知识
· 开发所需的基本环境
· 获得帮助的途径
· 通过一个实例了解基本步骤


Prerequisite 先决条件：
在Linux上编写 C 程序，至少要熟悉以下两方面的基础知

				]]></description>

				</item>
<item>

				<title>坐标数组中如何取出几个关键的坐标出来 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=1664773</link>

  				<author>jd808</author>
  				<pubDate>2010-02-09 15:30:34</pubDate>
				<description><![CDATA[

				作者: jd808

				发表于: 2010-02-09 15:30:34 (GMT 8)

				简介：[code]int xy[x][y]
/*数据模型
xy[0][0]=5;
xy[0][1]=90;

xy[1][0]=6;
xy[1][1]=90;

xy[2][0]=7;
xy[2][1]=90;
*/
的坐标值如下
5:90
6:90
7:90
8:90
9:90
10:90
11:90
12:90
13:90
14:90
15:90
16:

				]]></description>

				</item>
<item>

				<title>C 如何打印 % </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=1664769</link>

  				<author>daniel_kohler</author>
  				<pubDate>2010-02-09 15:24:12</pubDate>
				<description><![CDATA[

				作者: daniel_kohler

				发表于: 2010-02-09 15:24:12 (GMT 8)

				简介：在c语言里面,如果字符串了包含%,要怎么打印?[code]
void main()
{
    char a[64];
    a = "1234567890%";
    printf("%s\n",a);
}
[/code]错误： 赋值时类型不兼容

				]]></description>

				</item>
<item>

				<title>windows下网络编程方面的书有没有像《unix 网络编程》这本书这么经典的？ </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=1664712</link>

  				<author>aobai</author>
  				<pubDate>2010-02-09 13:57:39</pubDate>
				<description><![CDATA[

				作者: aobai

				发表于: 2010-02-09 13:57:39 (GMT 8)

				简介：:em30:

				]]></description>

				</item>
<item>

				<title>新手一个基础的东西没法解决 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=1664667</link>

  				<author>jd808</author>
  				<pubDate>2010-02-09 12:36:24</pubDate>
				<description><![CDATA[

				作者: jd808

				发表于: 2010-02-09 12:36:24 (GMT 8)

				简介：void rearr(int *ity)
{
	ity[0]--;
}

int main (void)
{
	int ity[1];
	ity[0]=100;
	rearr(ity);
	printf ("yyyyyyyyyy:%d\n",ity[0]);
	return 0;
}
我不喜欢这样

void rearr(int ity)
{
	ity--;
}

				]]></description>

				</item>
<item>

				<title>dynamic library何时会加载到内存？ </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=1664645</link>

  				<author>grizzly1975</author>
  				<pubDate>2010-02-09 11:35:09</pubDate>
				<description><![CDATA[

				作者: grizzly1975

				发表于: 2010-02-09 11:35:09 (GMT 8)

				简介：如果调用一个dynamic library中的函数，那么这个library或者函数是何时加载到内存呢？

int main(int argc, char *argv[])
{
     int ret;
     if ( argc > 3)
     {
           func1(argc); /* this function in a dynamic library
 

				]]></description>

				</item>
<item>

				<title>数组如何作为参数传递？ </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=1664641</link>

  				<author>jd808</author>
  				<pubDate>2010-02-09 11:27:57</pubDate>
				<description><![CDATA[

				作者: jd808

				发表于: 2010-02-09 11:27:57 (GMT 8)

				简介：[code]#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h> 
#include <json/json.h>

#include <math.h> 

#define  NULLS 0

#define MAPMAXSIZE 6000 

void rearr(int

				]]></description>

				</item>
<item>

				<title>程序core down问题 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=1664630</link>

  				<author>liumilan2009</author>
  				<pubDate>2010-02-09 11:08:01</pubDate>
				<description><![CDATA[

				作者: liumilan2009

				发表于: 2010-02-09 11:08:01 (GMT 8)

				简介：程序跑了16天，又core down了。用dbx - core一下
显示出下面
A loadobject was found with an unexpected checksum value.
See `help core mismatch' for details, and run `proc -map'
to see what checksum values were expecte

				]]></description>

				</item>
<item>

				<title>来讨论一下散列表的冲突问题 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=1664626</link>

  				<author>peidright</author>
  				<pubDate>2010-02-09 11:01:16</pubDate>
				<description><![CDATA[

				作者: peidright

				发表于: 2010-02-09 11:01:16 (GMT 8)

				简介：:mrgreen: ，在看一本书的散列这一章，觉得除了链表来解决冲突，其他比如平方定址，双散列，开放探测，一眼瞧上去，感觉毛病都比较大，看都不想看,但是书上又介绍了这个，
请问下：
   1.解决冲突，有什么好办法？
   2.假如散列表是在内存中，是不是最好的方法就是连表解决冲突？如果不是，请举一个例子和具体的应用场景
   3.如果在磁盘上，能否举点其他解决冲突的办法在磁盘上的相关应用

				]]></description>

				</item>
<item>

				<title>[help] wcout 跨线程 无法使用？ </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=1664616</link>

  				<author>deafguy</author>
  				<pubDate>2010-02-09 10:30:05</pubDate>
				<description><![CDATA[

				作者: deafguy

				发表于: 2010-02-09 10:30:05 (GMT 8)

				简介：我新建了一个线程，然后用wcout 向终端打印信息。但是总是打印到一半，程序就不动了。像是阻塞了一样。

请问什么原因啊？ 谢谢:)

				]]></description>

				</item>
<item>

				<title>[已解决]如何做这种字符串格式化。。 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=1664613</link>

  				<author>maxxfire</author>
  				<pubDate>2010-02-09 10:27:41</pubDate>
				<description><![CDATA[

				作者: maxxfire

				发表于: 2010-02-09 10:27:41 (GMT 8)

				简介：[i=s] 本帖最后由 maxxfire 于 2010-02-09 10:36 编辑 [/i]

char buf[9];
类似这效果：snprintf(buf, 9, "%d", xxx); 将一个数字格式化进buf串。
不过，要求buf输出为整整8个宽度，不足则补空格，超过则取数字的后8位。

				]]></description>

				</item>
<item>

				<title>c++程序员 想转测试的朋友和我联系，手上有职位推荐！ </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=1664618</link>

  				<author>GL约定</author>
  				<pubDate>2010-02-09 10:05:59</pubDate>
				<description><![CDATA[

				作者: GL约定

				发表于: 2010-02-09 10:05:59 (GMT 8)

				简介：

				]]></description>

				</item>
<item>

				<title>使用unixodbc连接ORACLE数据库的配置方法 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=1664589</link>

  				<author>rain_fish</author>
  				<pubDate>2010-02-09 09:30:29</pubDate>
				<description><![CDATA[

				作者: rain_fish

				发表于: 2010-02-09 09:30:29 (GMT 8)

				简介：[i=s] 本帖最后由 rain_fish 于 2010-02-09 10:03 编辑 [/i]

网上关于使用unixodbc连接oracle的方法很多，但是大部分都不准确，设置和安装的步骤有一部分是多余的，我总结了网上的文章并经过尝试进行简化步骤，感觉比较好使，但是因为所有材料来自网上，所以不敢独享，现发布出来，希望对使用这方面的人一点提示。
本文可以任意转载，但请保留出处
//by ra

				]]></description>

				</item>
<item>

				<title>未知数组大小问题! </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=1664545</link>

  				<author>小布什</author>
  				<pubDate>2010-02-09 00:53:02</pubDate>
				<description><![CDATA[

				作者: 小布什

				发表于: 2010-02-09 00:53:02 (GMT 8)

				简介：C 的数组和别的语言数组不一样,要先声明数组大小才能使用,
但如果我想用C 在数据库上取数据存贮到二维数组上,那什么办?  数据库取出来的数据不能预先知道多少!请教各位有什么办法? 谢谢!

				]]></description>

				</item>
<item>

				<title>关于高性能服务器模型 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=1664540</link>

  				<author>Shaquile</author>
  				<pubDate>2010-02-08 23:34:37</pubDate>
				<description><![CDATA[

				作者: Shaquile

				发表于: 2010-02-08 23:34:37 (GMT 8)

				简介：我有一个服务器，其模型是主进程＋多个worker进程＋一个共享队列。
主进程收到数据后将其写入队列，各个worker再从队列中取数据进行处理。每个worker都用了CPU亲和力固定在某个CPU上。
请问：这种模型的瓶颈是什么，怎么改进呀，谢

				]]></description>

				</item>
<item>

				<title>请教：有了解SCTP流记录协议的大侠吗？ </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=1664517</link>

  				<author>mhello</author>
  				<pubDate>2010-02-08 22:39:46</pubDate>
				<description><![CDATA[

				作者: mhello

				发表于: 2010-02-08 22:39:46 (GMT 8)

				简介：与TCP相比，SCTP在应用开发和实际应用中，在系统负荷方面，哪个效能好点？

				]]></description>

				</item>
<item>

				<title>请教各位大侠加密解密 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=1664514</link>

  				<author>zwjwelch</author>
  				<pubDate>2010-02-08 22:33:35</pubDate>
				<description><![CDATA[

				作者: zwjwelch

				发表于: 2010-02-08 22:33:35 (GMT 8)

				简介：有没有哪位大侠有Base64编解码C实现？

				]]></description>

				</item>
<item>

				<title>请教：哪种字符串压缩算法有比较好的压缩率分布？ </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=1664475</link>

  				<author>mhello</author>
  				<pubDate>2010-02-08 21:35:55</pubDate>
				<description><![CDATA[

				作者: mhello

				发表于: 2010-02-08 21:35:55 (GMT 8)

				简介：有很多压缩算法，
哪位大侠对压缩算法有研究，
能否介绍一下有哪种字符串压缩算法的压缩率比较的平稳？

				]]></description>

				</item>
<item>

				<title>有没有和crypt对应的解密函数？谢谢 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=1664469</link>

  				<author>zwjwelch</author>
  				<pubDate>2010-02-08 21:26:26</pubDate>
				<description><![CDATA[

				作者: zwjwelch

				发表于: 2010-02-08 21:26:26 (GMT 8)

				简介：有没有和crypt对应的解密函数？谢谢

				]]></description>

				</item>
</channel>
</rss>