- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 References to const
If we want to bind a reference to an object of a const type. To do so we must use a reference to const.const int a=1; const int &r=a;error: int &r1=a;const references is a reference to const? Techn
2016-08-11 19:38:30 283
原创 A pointer to an object & A pointer one past the end of a different object
In C++ primer, chapter 2, we can find this sentence "it is possible for a pointer to an object and a pointer one past the end of a different object to hold the same address."What exactally d
2016-08-10 21:31:48 590
原创 符号计算
一、符号常数、符号数字Generally,speaking,在有限长数字计算机中,不能始终保持完全准确,但有时我们又需要完全准确,此时就出现了符号计算,为区别于一般数字的记录,MATLAB中采用符号数字。对此,有固定的格式: 1、sym(Num) 采用精准类数创建精准符号数字 sc=sym(Num) (1)优先采用普通浮点数Num在sym(Num)命令作用下,创建符号数,if输入的是
2016-08-10 14:12:48 3012
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人