Redian新闻
>
STL里怎样得到map的某个键值对(pair)的指针?
avatar
STL里怎样得到map的某个键值对(pair)的指针?# Programming - 葵花宝典
s*n
1
老爸严重的冠心病,3个月前刚做了心脏搭桥手术。现在术后恢复还好。
有两个问题:
1. 术前就有高血压,以前一直用 硝苯地平 NIFEDIPINE 控制,血压控制的不错。
但是现在医生让改吃 Lisinopril 后血压控制不住,高压经常高到160。是应该找医生
换高血压的药嘛?
2. 前两天散步时可能走得快了点,又一次感到胸痛,几分钟后就好了,这次没有放射
性的痛,这点是和手术前心绞痛的感觉不同的地方。而且最近有时感到胸闷气短。 这
会是什么原因?难不成手术没做彻底?

我们打算去看看医生,约到两周后了,先来这里问问看?哪位大侠能帮着解释一下?不
胜感谢!
avatar
w*g
2
早就知道有这东西,一直没机会用。这两天要在cluster上调图形界面程序,一试之下
才知道厉害。这5年用过最牛x的软件。
avatar
d*i
3
好像所有的方法只能给出个迭代器,强制转为pair<>*是不行的。
那么是不是只要这个iterator不失效(在map里禁得住insert,delete的话),
就可以当做指针来用呢?
谢谢!
avatar
y*g
4
Nifedipine is calcium channel blocker, not good for congestive heart failure
(CHF) patient. That's why his doctor changed his antihypertensive agent from
nifedipine to lisinopril. Lisinopril is ACE inhibitor agentgood for CHF
patients. If his systolic blood pressure unable to control<140, he need go
to his cardiologist to readjust his BP meds. There is a lot of choice or
combination therapy for CHF patients.
If dyspnea on exertion reappeares, he need go to his cardiologist again too.
They need check his 2D echo, compared with the previous study. He might
need stress test/or cath lab again. You never know whether his graft
reoccluded or his another coronary artery narrowed.
Same time, he need on statin drugs, aspirin and health diet/exercise...
avatar
m*j
5
会内存泄漏,现在还是用vnc

【在 w***g 的大作中提到】
: 早就知道有这东西,一直没机会用。这两天要在cluster上调图形界面程序,一试之下
: 才知道厉害。这5年用过最牛x的软件。

avatar
t*t
6
&*iterator gives pointer. why do you need force conversion? and why do you
need pointer in the first place? (unless, of course, you are calling legacy
code --- but legacy code won't take pair<> anyway.)
when and how iterators are invalidated is clearly documented in STL.

【在 d******i 的大作中提到】
: 好像所有的方法只能给出个迭代器,强制转为pair<>*是不行的。
: 那么是不是只要这个iterator不失效(在map里禁得住insert,delete的话),
: 就可以当做指针来用呢?
: 谢谢!

avatar
s*n
7
谢谢大侠的回复!
Lisinopril 5mg 现在我父亲是每天吃2次,一共也才10mg,是不是可以加大剂量?在看
到医生前,我们可以自行加大剂量么?
我父亲的搭桥手术应该是做了4个graft。因为他的三个冠状动脉均有不同程度的堵塞。
这样是不是就是说如果有再堵塞,应该是在graft上?3个月前刚做的手术,难道这么快
就可能再堵上?这也太可怕了。老爸都70左右的老人了,如果真是再堵上了,是不是没
办法再做大手术了,太折腾了。。。
avatar
E*V
8
told you

【在 w***g 的大作中提到】
: 早就知道有这东西,一直没机会用。这两天要在cluster上调图形界面程序,一试之下
: 才知道厉害。这5年用过最牛x的软件。

avatar
y*g
9
If his symptoms or his condition not worse enough to require another surgery
, he didn't need have one. As you said,he has a bad heart already. So
moderate exercise, not too much which will increase his heart workload.
Control his heart rate, so his heart has more perfusion time. Is he on any
beta blocker?like metoprolol or carvedilol? digixon?
Pain in the chest might just one episode of myocardial angina, it doesn't
mean his graft occluded again. What he need is to know how to manage his
symptoms and optimize his medication to make his heart work a little easier.
I can't give your suggestions to increase lisinopril or not. His PCP or
cardiologist who knew him will make this decision.
avatar
E*V
10
restart it frequently ....

【在 m**j 的大作中提到】
: 会内存泄漏,现在还是用vnc
avatar
s*n
11
Yes, he is on metoprolol as well. And Simvastatin at the same time.
他肯定经不起再来一次大手术了,太遭罪了。我们尽量保守控制吧。本来以为搭桥手术
可以把他的冠心病根除了,或者至少可以管个十年八年的,看来我们还是得时刻注意。
再次感谢!
avatar
S*d
12

I used to use NX more than 8 hours everyday. Didn't find it has any problems
as server.

【在 E*V 的大作中提到】
: restart it frequently ....
avatar
k*r
13
now i switch to QtNX client, much more stable.
before the nomachine nx clinet was quite trouble some.

【在 E*V 的大作中提到】
: restart it frequently ....
avatar
m*t
14
Does it support dual monitor under kde?
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。