老迟到咖啡

文章
6
资源
0
加入时间
3年1月10天

C++------this指针篇

大家在定义类的过程中,有没有遇到过以下这种情况呢?在这我们简单的定义一个类:class Date{public : void print() { cout <<_year<< "-" <<_month << "-"<< _day <<endl; } void init(int year ,

(转)Oracle中判断某字段不为空及为空的SQL语句

比如insert into table a (a1,b1)values("a1",'');对于这种情况,因为表里存的是'',其实是没有内容的,要查询这个字段,不能直接使用select *from awhere b1='';select *from awhere b1 <> null;sql中判断非空不能用等号,因为null在...