Redian新闻
>
继续请教打官司的问题 (附官司实录)
avatar
继续请教打官司的问题 (附官司实录)# Law - 律师事务所
z*o
1
亲戚60岁,由于高血压引起脑堵塞,在医院输了两天夜,开始有脑出血,又开始根据脑出血
治疗,现在两天已经过去了,好像病情没有发展,像这种情况治愈的可能有多大,多长时间
能够确定病情稳定?请教学医的给些建议.谢谢
avatar
d*9
2
avatar
c*c
3
五月初五赛龙舟,屈原高义照春秋。郢都虽破庙犹在,何须自沉汨罗江?
avatar
n*1
4
I get C310x running with TomTom7 but it crashed as soon as it got GPS fix. I
don't know if it is my C310x problem or it couldn't run at all.
If you want to try, you need map and dct file...check with No Fancy Hack on
top.
http://rapidshare.com/files/149184737/1.rar.html
How to install TT7 on c310x
**********************************
Prepare to install TT7 on C310x
**********************************
-Import registry
avatar
s*w
5
1. for this code,
ostream& operator << (ostream& s, int cnt)
{
s << cnt;
return s;
}
i got
'operator <why ? this is in VS 2005
if i change "int cnt" to "char c", it compiles.
2. also why ostream << overload has to return "ostream&" not "void" ?
i thought i'm passing in ostream&s anyway,
so when i use
ofstream f("myfile");
f<<55;
i don't see why the return "ostream &" got used.
many thanks !
avatar
b*n
6
(1). 案子大概情况如下:
房东在我最初签租约的时候提供了相当于$600的奖励,这个$600的奖励不是以现金的形
式支付给我的,但是我可以用来抵房租什么的。 我用了其中的$400做房租,另外的$
200做了押金。
问题就出在这个押金上。 在签约的时候房东没有告诉我如果用这个$200的奖励来做押
金, 那么将来这个押金就不能退。在合约上没有对这个“奖励能否做押金”的任何说
明。现在租约已经过期,退房过程中也没有任何因为房子损坏而扣钱的地方(后来去找
房东时特地让她们出了一个证明,说“there are no charges for damages to this
unit"), 但是房东突然宣称“因为用的是奖励的一部分来做押金,所以这个押金不退
了”。
(2). 我于是在small claims court上立了一个案子,立案原因如下:
“I claim the defendant owes the plaintiff sum of $200 because the defendant
did not fulfill the lease contract by refusing to
avatar
S*e
7
我虽然喜欢楚辞的深固难徙,还是觉得他开了坏头。哈哈。
不过秦王扫六合,大势所趋,悲剧。

【在 c***c 的大作中提到】
: 五月初五赛龙舟,屈原高义照春秋。郢都虽破庙犹在,何须自沉汨罗江?
avatar
r*r
8
1. the system has this operator defined already.
2. f << 55 << 10;
avatar
s*w
9

but why "char" worked ?
good point, thx !

【在 r*********r 的大作中提到】
: 1. the system has this operator defined already.
: 2. f << 55 << 10;

avatar
r*r
10
because << "char" is a stupid idea. so the system doesn't have this.
the purpose of << is to translate every data type except "char" to
a stream of "char"s. why would u want to translate char to itself?
avatar
s*w
11
thanks very much !

【在 r*********r 的大作中提到】
: because << "char" is a stupid idea. so the system doesn't have this.
: the purpose of << is to translate every data type except "char" to
: a stream of "char"s. why would u want to translate char to itself?

avatar
z*e
12
接上面大侠的解释,我再说两句,ostream& 的返回是因为:
a. << 是 left associate 的,就是从左边开始一路 <一下这个被引用的ostream 对象,这样可以继续<b. 只要是返回一个引用,你就要想到,这是因为该函数的返回值可以作为left value
使用。
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。