Articles in the c/c++ Category
c/c++ »
基本解释 const是一个C语言的关键字,它限定一个变量不允许被改变。使用const在一定程度上可以提高程序的健壮性,另外,在观看别人代码的时候,清晰理解const所起的作用,对理解对方的程序也有一些帮助。 虽然这听起来很简单,但实际上,const的使用也是c语言中一个比较微妙的地方,微妙在何处呢?请看下面几个问题。
c/c++ »
strcpy(char destination[], const char source[]);
strcpy:将字符串source拷贝到字符串destination 中。
strcpy函数应用举例
原型:
strcpy(char destination[], const char source[]);
功能:将字符串source拷贝到字符串destination中
c/c++ »
NHibernate 2.0 Alpha has been released this week. The current 2.0 release is the first step to the feature set of Hibernate 3.2.6, many classes have been completely rewritten and lots of features have been added.