由买买提看人间百态

topics

全部话题 - 话题: inherit
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
s*****r
发帖数: 11545
1
Wrong.
One can only select inheritors specified in statute. A nephew can never be
his uncle's inheritor, however, a nephew can be a donee of a gift upon death
made by his uncle. In this sense, a nephew is not in a better situation
than anybody else.
Chinese inheritance law is very different from US'. I hope that my words
can alert some wsns here. Some would thank me later. Mark my words.


: 生前立有遗嘱,指明侄子继承的,侄子就可以直接继承了

: 但是这时候侄子和其他任何因为承诺照顾老人生活直至去世而获得继承权的人没
有区别了

: 除非以后修改法律条文,允许旁系血亲加入继承序... 阅读全帖
f**********c
发帖数: 15
2
华二代需要要读liberal art的专业,比如艺术史才能和old money有“谈资”。
有几个old money的子弟读码工的和华二代闲聊的时候交流代码?
(In the tradition of European aristocrats, they study liberal arts rather
than vocational skills. [1])
这年头种族主义比以前好一些,要有谈资的话,至少还能有一聊。[2]
old money也就是upper-upper class
华一代没事看Economist Magazine,华二代也会看。
[1]
Upper-Uppers
The upper-upper class, sometimes called “blue bloods” or simply “society,
” includes less than 1 percent of the U.S. population (Coleman & Neugarten,
1971; Baltzell, 1995). Membership is almost always the... 阅读全帖
O*******d
发帖数: 20343
3
美国的父母权利和责任。 这些权利和责任在孩子满18岁后就全部自动解除。
What are Parental Rights?
Specifically, parental rights include:
right to physical custody, which means reasonable visitation with a child
and regular contact
right to legal custody, meaning the ability to make major decisions about
the child's health, education, and religious upbringing
right to pass property to a child via gift or inheritance, and
right to a child’s earnings and to inherit from child in the event of death.
Parents can share these rights, alt... 阅读全帖
S*******l
发帖数: 4637
4
来见识下圣经里最长一句话,244单词:
Blessed be the God and Father of our Lord Jesus Christ, who has blessed us
in Christ with every spiritual blessing in the heavenly places, even as he
chose us in him before the foundation of the world, that we should be holy
and blameless before him; in love he predestined us for adoption as sons
through Jesus Christ, according to the purpose of his will, to the praise of
his glorious grace, with which he has blessed us in the Beloved; in him we
have redemption through his bl... 阅读全帖
m******8
发帖数: 2153
5
http://www.pinknews.co.uk/2010/02/04/benefits-victory-for-british-gay-couples-in-france/
British civil partners living in France are now entitled to the same tax and
inheritance benefits as their French counterparts.
Since August 2007, French couples in a Pacte Civil de Solidarité (PAC) have
enjoyed the same rights in relation to tax and inheritance laws as married
couples.
However, due to a legal anomaly, British civil partnerships were not
recognised under French law, meaning civil partners li
g********d
发帖数: 4174
6
来自主题: QueerNews版 - Colo. Civil Unions Bill Introduced
Posted on Advocate.com February 15, 2011
Colo. Civil Unions Bill Introduced
Colorado state senator Pat Steadman introduced a civil unions bill Monday,
as supporters sent legislators construction-paper “links of love” for
Valentine’s Day.
By Advocate.com Editors
Colorado state senator Pat Steadman introduced his much-anticipated civil
unions bill Monday.
Steadman had been talking about the bill for months, even wondering if he
should sponsor it, as he took into account the criticism that civil un... 阅读全帖
g********d
发帖数: 4174
7
摘要: 我理解是最高法院会废除DOMA SECTION 3,但不会强迫所有州承认同性婚姻。他们会找借口不接PROP 8的案子。
Andrew Koppelman Guest
Posted Friday, August 19th, 2011 8:44 am
Why the Supreme Court will strike down DOMA
Northwestern Law School’s Andrew Koppelman argues that the Supreme Court
will probably declare the Defense of Marriage Act unconstitutional.
The following contribution to our same-sex marriage symposium is written by
Andrew Koppelman, John Paul Stevens Professor of Law and Professor of
Political Science at Northwestern Univers... 阅读全帖
m******8
发帖数: 2153
8
A couple with two children and one income of $100,000 could pay $6,000 more (Photo: Flickr user Jakeandlindsay)
A study has said gay couples in the US can pay thousands of dollars more in
tax each year than similar straight couples, because the federal government
does not allow married gay couples to file tax returns together.
The disparity in the figures calculated during the joint study by CNN Money
and H&R Block are one result of the Defense of Marriage Act.
The heavily-debated Act defines ma... 阅读全帖
L*******e
发帖数: 2202
9
http://www.huffingtonpost.com/2012/06/12/why-are-there-gay-men_
While female sexuality appears to be more fluid, research suggests that male
gayness is an inborn, unalterable, strongly genetically influenced trait.
But considering that the trait discourages the type of sex that leads to
procreation — that is, sex with women — and would therefore seem to thwart
its own chances of being genetically passed on to the next generation, why
are there gay men at all?
Put differently, why haven't gay man... 阅读全帖
l****z
发帖数: 29846
10
来自主题: USANews版 - Why the Left Hates Sarah Palin

It just happened again.
I spend a fair amount of time at my local coffee shop. I like to do my
writing outside and, besides, it gives me an opportunity to try and initiate
political conversations with the people who pass by — my hope always being
to begin to enlighten them as to what conservatives really believe (and not
just what the leftist media tells them.)
Today, the conversation turned to Sarah Palin and my latest acquaintance
blurted out: “Oh I hate her.” Since she did not yet know ... 阅读全帖
l****z
发帖数: 29846
11
Ann Coulter捅马蜂窝:大多数libertarians都是胆小的假货,因为怕得罪人,而不敢
就当前重要的文化问题表明立场
GET RID OF GOVERNMENT -- BUT FIRST MAKE ME PRESIDENT!
June 15, 2011
I consider all Republican debates time-fillers until New Jersey Gov. Chris
Christie jumps in, but Monday night's debate did crystallize for me why I
dislike libertarians. (Except one, who is a friend of mine and not crazy.)
They lure you in with talk of small government and then immediately start
babbling about drug legalization or gay marriage.
"Get the government... 阅读全帖
l****z
发帖数: 29846
12
来自主题: USANews版 - Merry War on Christmas!
I can’t wait to see what those courageous atheists come up with for Ramadan.
Christmas in America is a season of time-honored traditions — the sacred
performance of the annual ACLU lawsuit over the presence of an
insufficiently secular “holiday” tree; the ritual provocations of the
atheist displays licensed by pitifully appeasing municipalities to sit
between the menorah and the giant Frosty the Snowman; the familiar strains
of every hack columnist’s “war on Christmas” column rolling off the
key... 阅读全帖
r***l
发帖数: 9084
13
"let me make it clear. The crisis I inherited from Bush administration is
much worse than I had thought. Meanwhile I want to remind people that, under
my administration, stock market went up by applying three times of QE and 0
interest rate. We passed universal health care, thought it increased the
premium a bit and it was ruled as tax later. The unemployment rate dropped
to 8.x percent from 9.x percent, a big 10% improvement....oh..I want to
stress again, the crisis we inherited from Bush admin... 阅读全帖
l**1
发帖数: 1875
14
看看你支持的是什么货色
Romnesia
October 20, 2012 Urban Word of the Day
(1) To flip-flop.
(2) To black out.
"If you say you're for equal pay for equal work, but you keep refusing to
say whether or not you'd sign a bill that protects equal pay for equal work
-- you might have Romnesia."
"Man, I think I have Romnesia. I went out last night and when I woke up this
morning, my dog was strapped to the roof of my car. No clue how it got up
there."
buy romnesia mugs & shirts
amnesia flip-flop waffle black out forg... 阅读全帖
l**1
发帖数: 1875
15
来自主题: USANews版 - Romnesia
Urban Word of the Day
(1) To flip-flop.
(2) To black out.
"If you say you're for equal pay for equal work, but you keep refusing to
say whether or not you'd sign a bill that protects equal pay for equal work
-- you might have Romnesia."
"Man, I think I have Romnesia. I went out last night and when I woke up this
morning, my dog was strapped to the roof of my car. No clue how it got up
there."
buy romnesia mugs & shirts
amnesia flip-flop waffle black out forget
by SeamusRomney Oct 19, 2012 share ... 阅读全帖
t**********3
发帖数: 12623
16
来自主题: USANews版 - Obama's Economy 2012-2016
Maybe Obama should stop saying he "inherited the worst economy since the
great depression", now he has just inherited an even worse one, from himself.
l******a
发帖数: 3803
17
来自主题: USANews版 - Top 0.1% is greed?

life
everything
both poor and rich want to live like a king/queen/queer ---
but only rich work the hassle to get it even though some inherit wealth from
their dad. And the healthy tards choose the food stamp path.
But Odumba also repeatedly talked his dad that have not been with him for
any days long. He chose to only inherit the skin-armor to get through
election.
l****z
发帖数: 29846
18
来自主题: USANews版 - Dr. Hanson:美国的衰落
The Decline of America
By Victor Davis Hanson
February 14, 2013 12:00 A.M.
Why do once-successful societies ossify and decline?
Hundreds of reasons have been adduced for the fall of Rome and the end of
the Old Regime in 18th-century France. Reasons run from inflation and
excessive spending to resource depletion and enemy invasion, when historians
attempt to understand the sudden collapse of the Mycenaeans, the Aztecs,
and, apparently, the modern Greeks. In literature from Catullus to Edward
Gibb... 阅读全帖
T*********I
发帖数: 10729
19
Forbes:
276 members of the list are self-made billionaires;
58 inherited their wealth, and
66 inherited at least a portion but are still increasing it.
http://www.forbes.com/forbes-400/list/
c***n
发帖数: 1034
20
来自主题: USANews版 - How Bernie pays for his proposals
https://berniesanders.com/issues/how-bernie-pays-for-his-proposals/
不少人不断地一遍一遍地说Bernie没有具体的计划来为他的政策付款,这里有详细的解
释。
这个问题是Corporate Media为了自己的利益故意装不知道(或者有些作者自愿洗脑真
不知道,或者被心理舆论压制了而不敢说)创造出来的。
因为原文是表格,下面贴的格式乱了,直接看上面的链接吧。
Plan Payment
Rebuild America Act: Sen. Sanders has proposed a $1 trillion plan to rebuild
our crumbling infrastructure and put 13 million Americans to work. Paid
for by making corporations pay taxes on all of the “profits” they have
shifted to the Cayman Islands and other offshore... 阅读全帖
l****z
发帖数: 29846
21
tax rate这个你随便一查就可以看到的.
http://economictimes.indiatimes.com/news/international/business
2015年瑞典税率就是排名第二, 不过丹麦变成第三,第一是Aruba.
实际上已经算税率世界第一高了. Aruba就是个小的岛国.
Tax rates keep on increasing annually, and are purposed to indirectly
benefit the citizens of a country. Here is the list of top 10 highest tax
paying countries in 2015:
Aruba (island in Southern Caribbean Sea): Tax rate: 58.95% There is no
payroll tax and none on capital duty either. Employers are supposed to pay
for the social security taxes o... 阅读全帖
m****s
发帖数: 8992
22
Are you slightly retarded or what?
The persons in the past (whatever they did) has nothing to do with any bums
today.
Why are you putting any value on such lineage?
Inheritance of contribution and benefits??? How did you come up with that?
We have probably the highest estate tax in the world. This country does not
believe in inheritance.
Mind boggling.
m********g
发帖数: 10469
23
估计希拉里不尿这帮子落水狗
National Review to Endorse Hillary?
By Mike Stopa
- Satire -
Word is out that the National Review, known as the soul of intellectual
conservatism since its founding 60 years ago by conservative icon William F.
Buckley Jr., is planning to endorse Hillary Clinton for President.
According to a possibly informed source claiming to be close to the magazine
’s editorial board and demanding anonymity, assuming that businessman
Donald Trump is crowned the Republican nominee at the upcoming... 阅读全帖
m****g
发帖数: 2215
24
来自主题: USANews版 - Trump is not happy with Ryan
https://twitter.com/realDonaldTrump?ref_src=twsrc%5Egoogle%7Ctw
7Ctwgr%5Eauthor
Donald J. Trump ‏@realDonaldTrump · 2h2 hours ago
Paul Ryan said that I inherited something very special, the Republican Party
. Wrong, I didn't inherit it, I won it with millions of voters!
Donald J. Trump ‏@realDonaldTrump · 4h4 hours ago
So many great endorsements yesterday, except for Paul Ryan! We must put
America first and MAKE AMERICA GREAT AGAIN!
S*******h
发帖数: 7021
25
西拉理支持墓斯林在美国行sharia law, 请看清楚下面sharia law内容. 这就是西拉拉
所谓的提高的女权
As a legal system, Sharia law is exceptionally broad. While other legal
codes regulate public behavior, Sharia law regulates public behavior,
private behavior and even private beliefs. Of all legal systems in the world
today, Sharia law is the most intrusive and restrictive, especially against
women. According to Sharia law:
• Theft is punishable by amputation of the right hand (above).
• Criticizing or denying any part of t... 阅读全帖
E**********d
发帖数: 253
26
来自主题: USANews版 - According to Sharia law
According to Sharia law:
• Theft is punishable by amputation of the right hand .
• Criticizing or denying any part of the Quran is punishable by death.
• Criticizing Muhammad or denying that he is a prophet is punishable
by death.
• Criticizing or denying Allah is punishable by death (see Allah moon
god).
• A Muslim who becomes a non-Muslim is punishable by death (compulsion
in religion).
• A non-Muslim who leads a Muslim away from Islam is punishable by
death... 阅读全帖
m****o
发帖数: 3762
27
Full transcript of Trump's remarks to Congress
Published February 28, 2017 FoxNews.com
President Donald Trump speaks on Capitol Hill in Washington, Tuesday, Feb.
28, 2017, during his address to a joint session of Congress.
TO THE CONGRESS OF THE UNITED STATES:
Mr. Speaker, Mr. Vice President, Members of Congress, the First Lady of the
United States, and Citizens of America:
Tonight, as we mark the conclusion of our celebration of Black History Month
, we are reminded of our Nation's path toward... 阅读全帖
T**********e
发帖数: 29576
28
左 B 媒体一直说形势一片大好
PRESIDENT TRUMP: Tonight, as I outline the next steps we must take as a
country, we must honestly acknowledge the circumstances we inherited.
Ninety-four million Americans are out of the labor force.
Over 43 million people are now living in poverty, and over 43 million
Americans are on food stamps.
More than 1 in 5 people in their prime working years are not working.
We have the worst financial recovery in 65 years.
In the last 8 years, the past Administration has put on more new... 阅读全帖
h*h
发帖数: 27852
29
Dying without a will in WI
https://www.thebalance.com/dying-without-a-will-in-wisconsin-3505043
Dying Without a Will in Wisconsin
Survived by a spouse and descendants at least one of whom is not the
descendant of the spouse - In this case, the spouse will inherit one-half (1
/2) of the separate property. The descendants of the deceased person will
inherit their deceased parent's share of the community property plus the
balance of the separate property, per stirpes.
婚前财产一半给2老婆,1/6给大女儿,1/3给两个小娃;
婚... 阅读全帖
c**i
发帖数: 6973
30
来自主题: Family版 - Unintended Consequences
Scott Sayare and Maia de la Baume, Bliss for Many French Couples Is Now Less
Marital Than Civil; Trading the walk down the aisle for a pact to be signed
. New York Timees, Dec. 16, 2010 (title in the print).
http://www.nytimes.com/2010/12/16/world/europe/16france.html?_r=1&scp=1&sq=france%20civil%20union&st=cse
Quote:
"As with traditional marriages, civil unions [in France] allow couples to
file joint tax returns, exempt spouses from inheritance taxes, permit
partners to share insurance policies... 阅读全帖
s*********0
发帖数: 298
31
来自主题: Family版 - 如何帮助姑妈(她人在LA)
You aunt is entitled to at least half of the inheritance that was still
under her husband's name when he passed away. And her right supersedes her
husband's will, which means nobody can take away the property legally
belongs to her.
Right of Surviving Spouse
California is a communal property state, which means that married spouses
both retain an equal but undivided claim to shared property. This includes
real property, income, investments and other liquid assets earned or
acquired during the ma... 阅读全帖
c*******k
发帖数: 1308
32
来自主题: Investment版 - 请教一个roth ira账户问题
This is so wrong. The beneficiary can take money out tax free after they
inherit it, but before they inherit it, it is part of the estate plan and
subject to estate tax.
m*********t
发帖数: 1250
33
One useful benchmark from, The Millionaire Next Door by Thomas Stanley and W
illiam Danko, is:
Multiply your age times your realized pretax annual household income from al
l sources except inheritances. Divide by ten. This, less any inherited wealt
h, is what your net worth should be.
The translation goes into simple 3-step:
1. Calculate your annual pre-tax household income.
2. Divide your age by ten.
3. Multiply these two numbers together.
So, if you and your spouse are about 45 years old and y... 阅读全帖
j**7
发帖数: 59
34
来自主题: JobHunting版 - Amazon 电面经历
这个问题是个改错题,这个问题面试的人并没有问我要用什么 Pattern。
一开始没想清楚,说用 multiple inheritance,
但是他不满意,后来意思到 material 只是家具一个属性,不应该出现在 base class 里, 所以不用 multiple inheritance。
至于 a furniture made of multiple materials like steel, wood,我答的是 把家
具 分解成 parts,他就满意了。
可能问我的问题简单,感觉考点就是明白 OO 里最基本的概念:is-a 和 has-a,系统是不是 scalable
g***i
发帖数: 408
35
来自主题: JobHunting版 - 讨论:关于一个design 问题
其实任何DESIGN PATTERN 都回归于GOF说的3句话
PROGRAMMING TO INTERFACE RATHER THAN CLASS
FAVOR OBJECT COMPOSITION OVER class INHERITANCE
ENCAPSULATE WHAT VARIES
对于有很多年设计经验的人来说,PATTERN不PATTERN都不是那么重要了,
这里变化的就是 STYLE和MATERIAL, 所以必然是要封装的,再加上(PROGRAMMING TO
INTERFACE RATHER THAN CLASS) 于是我们有了这两个interface。
再根据“FAVOR OBJECT COMPOSITION OVER INTERFERENCE” 排除做MULTIPLE
INHERITANCE, 于是我们就做一下composition,把STYLE和material作为家具的属性。
严格的来讲,这里的桥不是那么明显:)
为了让这样桥更明显就是单单把MATERIAL从家具中分离出来
家具有一个property MATERIAL (例如wood,steel,...), 和
m*****n
发帖数: 5245
36
来自主题: JobHunting版 - [合集] 问几道amazon面试题
☆─────────────────────────────────────☆
ttgg (暂时没有昵称) 于 (Sat Aug 22 21:40:15 2009, 美东) 提到:
1。Java里如何比较两个objects是否相等
2。怎样找出一个list是否包含循环
3。inheritance和composition:什么时候需要用到哪种?
4。一个int array
如何找出subarray,使得元素之和最大
比如{-2,3,-1,3,-4}
那么答案应该是{3,-1,3}
☆─────────────────────────────────────☆
Macheda (Federico Macheda) 于 (Sat Aug 22 21:48:18 2009, 美东) 提到:
1. equal
2. 不同步长
3. inheritance is-a, composition has-a
4. 请问goodbug

☆─────────────────────────────────────☆
mitbbs59 (bEQi) 于 (Sat Aug 22
l*****a
发帖数: 14598
37
来自主题: JobHunting版 - bloomberg面经
5.depends on language,C++ support multiple inheritance ,but you need
to say which one u use.
B::foo() or C::foo()
for JAVA/C#,it seems that multiple inheritance is not supported
7,multiple CPU?multiple thread?
p*********r
发帖数: 48
38
来自主题: JobHunting版 - One C++ question
I think I get the answer now. Use a template, private inheritance and
multiple inheritance.
z****e
发帖数: 2024
39
来自主题: JobHunting版 - C++ object size一问
virtual inheritance implementation is compiler dependent. no universal
single answer. you might want to take a look at MS thunk technique to see
how does VS implement this. alignment is also an issue. so for virtual
inheritance, do not spend unnecessary time to dig.
x***y
发帖数: 633
40
来自主题: JobHunting版 - C++ Q36: derivation specification (B8_9)
This statement is wrong, 1. the derived class have all the members of the
base class even if the inheritence is private 2. in a class, the same
function can only appear once, and accesibility won't affect this. As A's :
void f(int) goes into B, you can not have another void f(int) in B.
You can verify yourself in the programme to see that in B void f(int) is
till virtual by creating a class C publicly inheriting from B, and use B* to
point to new C. You can see that void f(int) is virtual.
l****y
发帖数: 44
41
来自主题: JobHunting版 - bloomberg 电面面经
刚放下电话就来贡献面经了。几乎全是概念题,前人的面经里都出现过的,没碰上什么
新题。
online assessment 选的C,3天后就收到电面通知了。
电面约的11点,他10:30就打过来了。我说你咋提前了?他说那我半小时后再打也行。
我说那就现在吧,给我几秒钟
setup。面试的应该是个白人哥哥,比较nice。先问了简历上的project,你是什么role
,哪个最interesting,有给什么公
司做的没。
然后开始 technical 问题。最熟悉什么语言,我说 C and C++. 问C 和 C++有啥
不同。OO有什么key components。解
释 Inheritance, Polymorphism, Singleton, 什么时候用。C++ 和 Java 有啥不同。
Multiple Inheritance 怎么实现。
Pass by value, pass by reference. Error Handling, 怎么用。Namespace 什么用途
. 怎么比较俩个object相同。Heap
和 Stack (memory). Binary tr... 阅读全帖
w**n
发帖数: 122
42
来自主题: JobHunting版 - onsite面经
面了四个人(都是Sr. MTS) + HM
前面两个,感觉还可以。不会的,稍加提示,就答出来了。
HM带着吃午饭,没有技术问题,基本都是behavior问题,或者就是介绍他们现在做的东
西。
下午是两个女工程师,感觉就很差
有个女印印,问了很多怎么debug dump file的问题。这个弄得我很头疼。
而且明明我不是很在行, 她还不停地摁着这个方向反复问。
另外一个表情很严肃,老是皱眉头。跟她说话也很费劲。她连什么时候是call copy
constructor和什么时候call operator=都分不清楚。她问了不少database的问题,但
是我简历上完全没有DB经验。哎。。。
算法问得不太多, 也就问问概念层面的东西, 没让写程序
有什么排序算法, 各个的效率怎么样
什么情况下O(n^2)会比O(nlgn)效率更好
coding办(C++)问得很细, 概念问了很多
什么时候应该用initialization list
virtual inheritance
multi inheritance
virtual function
virtual constrctor/destru... 阅读全帖
m******e
发帖数: 481
43
来自主题: JobHunting版 - 帮看看这段code
Thanks. find it
The standard practice for exceptions in C++ is ...
Throw by value, catch by reference
Catching by value is problematic in the face of inheritance hierarchies.
Suppose for your example that there is another type MyException which
inherits from CustomException and overrides items like an error code. If a
MyException type was thrown your catch block would cause it to be converted
to a CustomException instance which would cause the error code to change.
References
m*****a
发帖数: 636
44
来自主题: JobHunting版 - 帮看看这段code
catch的已经是ExceptionChild了,
也还用reference嘛?

Thanks. find it
The standard practice for exceptions in C++ is ...
Throw by value, catch by reference
Catching by value is problematic in the face of inheritance hierarchies.
Suppose for your example that there is another type MyException which
inherits from CustomException and overrides items like an error code. If a
MyException type was thrown your catch block would cause it to be converted
to a CustomException instance which would cause the error ... 阅读全帖
b*****t
发帖数: 72
45
来自主题: JobHunting版 - 求建议
刚电面完BB,写点面经:
1. static in C and C++
2. public inheritance vs private inheritance
3. four default function allocated by the compiler
4. shallow copy vs deep copy
5. exception mechanism
大概只面了20多分钟,基本都答出来了,但是表述不太清楚,还需要多练练,不知道有
没有好的建议?
希望能有on site. Bless
C***U
发帖数: 2406
46
来自主题: JobHunting版 - C++继承问题
我查了一下
我给的例子是diamond inheritance problem
只不过说用virtual inheritance能解决这个问题
谢谢
G******i
发帖数: 5226
47
来自主题: JobHunting版 - [合集] guangyi的面经和总结
☆─────────────────────────────────────☆
guangyi ( 光一) 于 (Sat Oct 29 00:10:37 2011, 美东) 提到:
**********************************
M:
phone interview (1 round):
why MS?
biggest challenge
why like coding and algorithm?
what is good code?
your longest code
biggest accomplishment
if you don't want some functions to be modified in java, what to do?
does java allow multiple inheritance?
what does synchronized keyword mean in java?
CEO wants a book, you find it in the system of a nearby bookshop. You ... 阅读全帖
h*****3
发帖数: 1391
48
来自主题: JobHunting版 - 说说我被面试到的c++题目吧
只谈c++,不谈其他,比如stl,我自个觉得属于data structure的。当然也有一些我认
为很有可能被面试到的概念题。想到哪写到哪吧。很惭愧,大家提的那3本书都没看过
。也许 C++ PRIMER看过。
1) 为啥要用c++;
2) encapsulate, polymophysim,inheritance的概念;
3)class的概念
4)default constructor是啥样的;
5) 写copy constructor要注意啥
6) 写 operator assignment的时候要注意啥
7)can constructor be virtual? why it can or can not? how about destructor.
8) what's the default functions of class
9) describe virtual table
10) what's the size of empty class
11) what's the difference of class and struct
12) what's the dif... 阅读全帖
s********k
发帖数: 6180
49
就像我前面说的,2个的情况更简单而且大多数应该被解决了,更像一个deadlock,一
个resource是priority,一个是mutex,结果两个process分别拿到一个resource。
2个的问题只要H process不busy waiting而是yield就解决了(或者priority
inheritance),这样L完了之后释放mutex然后H再run。
但是3个的问题H只是yield解决不了,L还是不能运行(因为middle一直在运行),所以
mutex不能释放,这样就只能priority inheritance才能解决。
所以我觉得3个应该才是最经典的问题
y*******g
发帖数: 6599
50
来自主题: JobHunting版 - 今天似乎没啥新面经……
可能我说的不清楚
c++的private inheritance 可以理解为 has a, public inheritance 是 is a
effective c++有讲这个,我觉得不算语法问题吧
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)