- 博客(4)
- 收藏
- 关注
转载 Where is the 'this' pointer stored in computer memory
I think it's also useful to see what the C++ ISO spec explicitly says about this. According to the C++03 ISO spec, §9.3.2/1:In the body of a nonstatic (9.3) member function, the keyword this is
2016-01-25 11:13:03 545
转载 C++中this指针存放在哪里
#include #include using namespace std;//CPerson类class CPerson{ int m_nAge;//年龄 char m_strName[256];//姓名public: //构造函数 CPerson(int age, char* nam
2016-01-25 10:33:15 7165
转载 Two Sum(找出数组中两个和等于指定数字的元素)
英文:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two numbers such that they add up to the targ
2016-01-21 21:21:13 783
转载 java new 对象
你知道在java中除了8中基本类型外,其他的都是类对象以及其引用。所以"xyz"在java中它是一个String对象.对于string类对象来说他的对象值是不能修改的,也就是具有不变性。看:String s="Hello";s="Java";String s1="Hello";String s2=new String("Hello");啊,s所引用的
2016-01-04 10:06:28 533
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人