博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  language commom

the comparision of the most popular language.
摘要:1 c++ string s; 在栈中申明字符串变量 s="aaaaaaa";定义一个字符串 string s("sassssss");//在申明的同时,调用构造函数赋初值 2 java string s; //声明字符串引用 s=new string("aaaaaa");定义一个字符串 s="aaaaaaaa"; 同样是定义一个字符串 3 c# string s; s="aaaaaaaaaa... 阅读全文

posted @ 2007-10-29 19:19 arowana 阅读(135) 评论(0) 推荐(0)

摘要:First-class object In computing, a first-class object (also -value, -entity, -citizen), in the context of a particular programming language, is an entity which can be used in programs without restrict... 阅读全文

posted @ 2007-10-27 16:35 arowana 阅读(274) 评论(0) 推荐(0)

摘要:A declaration is the all-encompassing term for anything that tells the compiler about an identifier. A definition defines the storage, value, body, or contents of a declaration. The d... 阅读全文

posted @ 2007-10-20 18:47 arowana 阅读(255) 评论(1) 推荐(0)