由买买提看人间百态

topics

全部话题 - 话题: declares
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
O*******d
发帖数: 20343
1
来自主题: Programming版 - C++怎样设置全局变量
在大项目里,用extern会有很多问题。抄一段网上的
The "extern" declaration in C is to indicate the existence of, and the type
of, a global variable or function. A global variable, or a global function,
is one that is available to all C modules (a single C module is typically a
single .c file). An extern is something that is defined externally to the
current module. In many cases, you can leave off the extern qualifier and
not notice any difference because the linker can collapse multiple
definitions to one. But the in... 阅读全帖
p*****u
发帖数: 191
2
来自主题: Biology版 - "影响因子"对科学的摧残
来自Medical Daily的一则消息:
Scientific Insurgents Say "Journal Impact Factors" Distort Science
The San Francisco Declaration on Research Assessment, or DORA, put forward
18 recommendations for change in the scientific culture.
An international declaration was published today calling for the scientific
community to eliminate the role of Journal Impact Factor (JIF) in evaluating
research for funding, hiring, promotion, and institutional effectiveness.
Follow us
The call for new standards gives voice to ... 阅读全帖
s**********8
发帖数: 25265
3
来自主题: MedicalDevice版 - CE mark
The CE markCE marking (also known as CE mark) is a mandatory conformance
mark on many products placed on the market in the European Economic Area (
EEA). With the CE marking on a product the manufacturer ensures that the
product is in conformity with the essential requirements of the applicable
EC directives.[1] The letters "CE" stand for "Conformité Européenne" ("
European Conformity").[2]
Contents [hide]
1 Meaning
2 Countries requiring the CE marking
3 Rules underlying CE marking
4 Self-certif... 阅读全帖
b********n
发帖数: 38600
4
来自主题: Military版 - 看看美帝怎么算计大宋的
http://www.strategypage.com/htmw/htlead/articles/20120807.aspx
Can't We All Just Obey China?
China recently declared that most of the 3.5 million square kilometers South
China Sea had become Sansha, the latest Chinese city. The area China claims
is within the city limits comprises over two million square kilometers of
largely open ocean and a few hundred tiny islands and reefs, many of which
are only above water during low tide. Sansha is administered from one of the
Paracel islands (Woody Islan... 阅读全帖
p******o
发帖数: 9007
5
来自主题: Military版 - 日本对波兹坦公告的态度
By signing the Instrument of Surrender (2 Sep 1945), Japan specifically
accepted the terms of the Potsdam declaration, which incorporated by
reference the terms of the Cairo Declaration: "We, acting by command of and
on behalf of the Emperor of Japan, the Japanese Government and the Japanese
Imperial General Headquarters, hereby accept the provisions in the
declaration issued by the heads of the Governments of the United States,
China, and Great Britain 26 July 1945 at Potsdam, and subsequently ... 阅读全帖
x****u
发帖数: 12955
6

Without regard to why KMT didn't declare war, we know for certain that had
they declared war, China wouldn't be able to buy war related material from
US, unless it was cash and carry. And Japan was more than capable of
stopping any shipping into China in a declared war. In 1937, that would
mean China would be practically isolated from the rest of the world. For a
country that was over 90% dependent on foreign supplier for vital war
materials, there would be no way to sustain the war effort f... 阅读全帖
b********n
发帖数: 38600
7
来自主题: Military版 - Insanity Grips The Western World
http://www.paulcraigroberts.org/2015/04/27/insanity-grips-weste
Just as Karl Marx claimed that History had chosen the proletariat,
neoconservatives claim that History has chosen America. Just as the Nazis
proclaimed “Deutschland uber alles,” neoconservatives proclaim “America
uber alles.” In September 2013 President Obama actually stood before the
United Nations and declared, “I believe America is exceptional.”
Germany’s political leaders and those in Great Britain, France, and
throughout Europe... 阅读全帖
b******y
发帖数: 2729
8
quora 上有人问,苏联对日宣战是人类历史上最后一次国对国宣战
https://www.quora.com/Why-does-the-United-States-no-longer-declare-war
It's not just the United States. It is said that no country has formally
declared war on another state since Russia declared war on Japan in 1945.
After that the United Nations Charter defined the legal framework to apply
in international law after war is declared on another sovereign state. All
countries want to avoid following those rules so they simply go ahead and
have military conflicts w... 阅读全帖
R*2
发帖数: 225
9
来自主题: Military版 - 被宣布死亡
Missing UMich student Xin Rong declared dead 7 months after plane crash
Updated on October 5, 2017 at 7:29 PM Posted on October 5, 2017 at 5:30 PM
Comment
15
shares
By Lauren Slagter [email protected]
Xin Rong
Xin Rong
ANN ARBOR, MI - Missing University of Michigan student Xin Rong has
officially been declared dead.
Court records show Washtenaw County Judge Julia Owdziej issued an order
Thursday, Oct. 5 establishing the death of Rong, 27, who disappeared in
March after renting a private pla... 阅读全帖
d****o
发帖数: 32610
10
表面签了,
但根本没有法律效力
就是国际诈骗
还不如土鳖执行WTO的情况
随便从wiki摘一段
Where a treaty or covenant is not self-executing, and where Congress has not
acted to implement the agreement with legislation, no private right of
action within the US judicial system is created by ratification.[93] However
, the US Federal Government has held that the ICCPR treaty was only ratified
"after" it was determined that all the necessary legislation was in place
to provide for domestic effect of law, thereby making the ICCPR treaty self-... 阅读全帖
x**7
发帖数: 285
11
【 以下文字转载自 Automobile 讨论区 】
发信人: SkyHigh27 (), 信区: Automobile
标 题: 以后再也不fight traffic ticket了
发信站: BBS 未名空间站 (Mon Oct 14 13:22:02 2019, 美东)
年初的时候开车去南加,那时候天色已晚,路上也没有人,我索性就一脚油门,开到了
小100的时速。
结果没过一会就看见前面亮灯了,过了一会警车追上来,我靠边。 Officer很和善,笑
着问我开了多快。 要走了驾照之后回来给了张 ticket, 还很循循善诱的说,这次他
只写了 90+, 如果直接写一百的话,我就会被当场吊销驾照了。那时候心里暗暗感激
,也后悔自己开的太快。
回家后等了很久才收到法院的传单,罚款也没有我想象的贵($366 + $73 traffic
school).就在我准备交钱上课的时候,公司的同事建议我先extend,拖到最后再来个
trial by declaration. 他说他每次都是这么get away的。
于是我就各种打电话extend到八月底,然后request trial by d... 阅读全帖
g********d
发帖数: 4174
12
来自主题: QueerNews版 - IN OBAMA WE TRUST
Never has the substantial progress in equal rights and treatment of LGBT
people been more at risk than in this presidential contest. This election
presents a choice between starkly opposing futures.
Barack Obama is a leader of undeniable accomplishment, vision, and
integrity on LGBT rights. His opponent Mitt Romney betrays equality on
numerous issues and aligns himself with a faction of the Republican Party
that does not include equality among its declared ideals.
The Advocate’s last endorseme... 阅读全帖
f*******n
发帖数: 12623
13
来自主题: Automobile版 - STOP Sign ticket [HELP]
法庭没有必要寄东西给你。你签了ticket你就有责任处理到底。你可以打电话给法庭问
有没有你的ticket,要交多少钱。
你应该做Trial by Written Declaration。如果Trial by Written Declaration输了再
重新上庭。
这样的案件分成两部分:arraignment(就是你plead guilty或not guilty)和trial。
为了arraignment,你可以亲自去法庭,跟clerk说你要plead not guilty,交罚款,跟
着要求Trial by Written Declaration。你也可以通过邮件plead not guilty,交罚款
,和要求Trial by Written Declaration。
他们到时候寄Trial by Written Decaration表给你之后,你有大概三个星期写好
declaration,寄回去。
f*******n
发帖数: 12623
14
来自主题: Automobile版 - 超速ticket怎么处理
你肯定会收到法庭寄给你的courtesy notice。ticket被输入法庭的系统之后就会寄给
你courtesy notice,告诉你不同选择要交多少钱。因为效率很低,所以很多时候要等
几个月,甚至过了ticket上的日期几个月,才把ticket输入系统。如果输入系统时差不
多到或已经过了ticket上的日期,会给你一个新的日期。如果差不多到ticket上的日期
,你还没有收到courtesy notice,而你不放心的话,可以打电话给法庭。
你也可以check那county法庭的网上交traffic ticket罚款的地方,查你的ticket。如
果查得到,就说明已经输入系统,而且告诉你多少钱。如果查不到,就说明还没有输入。
你应该不先寄Trial by Written Declaration的表格进去。你可以到deadline前一个星
期寄进去一份written not guilty plea,上面说你要Trial by Written Declaration
,要求Trial by Written Declaration的表格。他们收到,就会寄给你Trial by
Writt... 阅读全帖
f*******n
发帖数: 12623
15
来自主题: Automobile版 - 加州超速罚单问题
你可以亲自去plead not guilty、要求Trial by Written Declaration、和付钱,或者
通过邮件plead not guilty、要求Trial by Written Declaration、和付钱。(一般人
都喜欢通过邮件。)网上california written not guilty plea可以找到例子。基本上
上面就写你这是written not guilty plea,并且要求Trial by Written Declaration
,请他们寄Trial by Written Declaration的表给你。
他们收到这个之后,就会自动延期你的日期几个星期,跟着寄表给你。(这样时间就可
以拖的更久。)他们给你几个星期完成declaration并寄回去。
l******9
发帖数: 579
16
I am designing a SQL Server 2008 R2 query.
If I used string concatenation to insert into table, it does not work.
DECLARE @s1 varchar(MAX);
DECLARE @s2 varchar(MAX);
DECLARE @s3 varchar(MAX);
DECLARE @s4 varchar(MAX);
SET @s1 = 'SELECT a.id, b.name as new_name, a.value FROM ['
SET @s2 = '].[dbo].[table1] as a, '
SET @s3 = 'a_temp_table as b ' -- a_temp_table is a table variable. No
matter I put "@" or "#" in front of a_temp_table, it doe snot work.
SET @s4 = 'WHERE a.id = b.i... 阅读全帖
k********8
发帖数: 7948
17
http://www.zerohedge.com/news/guest-post-keynesian-solutions-af
Submitted by Jim Quinn Of The Burning Platform
Keynesian Solutions - After Total Failure -Try, Try Again
“Lenin is said to have declared that the best way to destroy the capitalist
system was to debauch the currency. By a continuing process of inflation,
governments can confiscate, secretly and unobserved, an important part of
the wealth of their citizens. By this method they not only confiscate, but
they confiscate arbitrarily; and... 阅读全帖
R*******d
发帖数: 13640
18
入籍面試大約十分鐘時間,測試您對美國政府,歷史的了解和您的英文聽、讀、寫能力
。美國政府和歷史部份的考試只占兩分鐘。您大概不知道的是美國公民入籍考試其實在
您踏入移民考官辦公室的那一刻就開始了,移民考官用英文提問,您必須聽懂他∕她的
問題,並且用英文回答問題。通過公民入籍考試,需要的不僅是知識,更重要的是自信
心。
【试题说明】蓝色字体的试题具有时效性,且各州有不同的答案,需要注意。另外,如
果申请人年满65周岁或以上,并且在美国具有合法永久居留身份20年以上,可仅学习前
面带有*号的试题。
文章的最下方附有美国入籍阅读、听写考试知识点。
AMERICAN GOVERNMENT /美国政府
A. Principals of American Democracy/美国民主原则
1. What is the supreme law of the land?/美国的最高法律是什么?
答:The Constitution /宪法
2. What does the Constitution do?/宪法的作用是什么?
答:Sets up the government /建立政府体制
答:De... 阅读全帖
c**i
发帖数: 6973
19
【 以下文字转载自 ChinaNews 讨论区 】
发信人: choi (choi), 信区: ChinaNews
标 题: 冰岛歌后比约克上海演唱高呼西藏
发信站: BBS 未名空间站 (Tue Mar 4 13:00:32 2008)
That is the title of a report today in BBC Chinese edition http://bbc.co.uk/chinese.
My comment:
(1) About the singer, see en.wikipedia.org for "Bjork."
(2) The lyrics of "Declare Indepedence":
"Declare independence!
Don't let them do that to you!
Declare independence!
Don't let them do that to you!
Declare independence!
Don't let them do that to you!
Declare independence!
l******g
发帖数: 27
20
【 以下文字转载自 Automobile 讨论区 】
发信人: SkyHigh27 (), 信区: Automobile
标 题: 以后再也不fight traffic ticket了
发信站: BBS 未名空间站 (Mon Oct 14 13:22:02 2019, 美东)
年初的时候开车去南加,那时候天色已晚,路上也没有人,我索性就一脚油门,开到了
小100的时速。
结果没过一会就看见前面亮灯了,过了一会警车追上来,我靠边。 Officer很和善,笑
着问我开了多快。 要走了驾照之后回来给了张 ticket, 还很循循善诱的说,这次他
只写了 90+, 如果直接写一百的话,我就会被当场吊销驾照了。那时候心里暗暗感激
,也后悔自己开的太快。
回家后等了很久才收到法院的传单,罚款也没有我想象的贵($366 + $73 traffic
school).就在我准备交钱上课的时候,公司的同事建议我先extend,拖到最后再来个
trial by declaration. 他说他每次都是这么get away的。
于是我就各种打电话extend到八月底,然后request trial by d... 阅读全帖
f*******n
发帖数: 12623
21
来自主题: SanFrancisco版 - 求助,speeding ticket,包子谢
You should definitely do Trial by Written Declaration before you go to court.
1) If you lose Trial by Written Declaration, you can request a Trial De Novo
, a completely new trial in court, so you get 2 chances.
2) Police are more likely to not respond to Trial by Written Declaration
than not go to court, because they get overtime to go to court, but not to
write a declaration. If they do not write a declaration, you win.
f*******n
发帖数: 12623
22
来自主题: SanFrancisco版 - 吃ticket后怎么apeal,如何个过程
加州处理ticket的方法就是:
*做Trial by Written Declaration
*如果Trial by Written Declaration输了,重新上庭
*如果上庭输了,向法官要求traffic school
你先要亲自去法庭plead not guilty、交罚款、和要求Trial by Written Declaration
的表,或通过邮件plead not guilty、交罚款、和要求Trial by Written Declaration
的表。
收到表之后有几个星期给你写你的declaration。写什么无所谓。只要不要认错或说谎
就行了。
收到决定之后,如果输了,有一段时间给你要求trial de novo,就是上庭,重新争一
遍,跟一开始一样。上庭就希望警察不来。
G****e
发帖数: 11198
23
来自主题: Texas版 - 达拉斯西尼罗河病毒爆发
Dallas County, Texas, declares state of emergency due to West Nile virus
这个要小心啊!
http://en.wikipedia.org/wiki/West_Nile_virus
http://www.wfaa.com/news/health/Dallas-County-declares-state-of
WFAA
Posted on August 9, 2012 at 8:40 PM
Updated yesterday at 10:24 PM
Related:
West Nile coverage and resources
http://www.wfaa.com/westnile
DALLAS - Dallas County Judge Clay Jenkins declared a public health emergency
in Dallas County Thursday due to the West Nile virus epidemic in the area.
Jenkins instruct... 阅读全帖
w****b
发帖数: 623
24
来自主题: Bridge版 - 实战防守
Actually on 2nd thought, if declarer's 1264 with HA, it's cold. Say you
overtake SA and return trump, declarer plays C and you play another trump.
Declarer can still ruff a C, so he has 6+2 trumps, HA and HK, on the run of
the trump, pd will be inevitably squeezed.
With the major situations, if declarer can get 10th trick, he will be able
to get 11th if you don't break the squeeze.
So on the other hand, if pd is 5-6-2-0, you need to attack trump immediately
to beat him 2 tricks (declarer only ha
p***r
发帖数: 20570
25
来自主题: Bridge版 - Some thoughts on one hand
There could be another stronger line if you take HK on the first trick. When
you cash CA and opp drops C9, you can suspect that it could be a singleton.
So you just play back H right away to cut opp's connections.
If opps cash 4 hearts, you just come back to the squeeze position.
If LHO wins HT and shoot back D, you just play DA, back to CK to check the C
position. When the bad news comes (assume LHO discards a D), you just play
another H and play LHO for 4-3-5-1. If RHO cashes all his hearts, y... 阅读全帖
b***y
发帖数: 2804
26
来自主题: Bridge版 - 你会盖Q吗?
I think you have to hope that declarer only has 4 diamonds and no D10. Then
ducking DK will work out more often:
1) When declarer has D9, ducking gives declarer a guess. If you cover, then
technically correct play for the declarer is to finesse partner's D10.
2) Even when partner holds T9x (which means that you *should* cover DK),
ducking may still work out OK, since partner should falsecard with D9 or D10
on first round of trump. So declarer may still guess wrong, not all is lost
.
p***r
发帖数: 20570
27
来自主题: Bridge版 - 【每周一题】保留选择
This line is very strange. Suppose partner's signal is real, he must hold 3
spades because he plays trump echo. Therefore, declarer holds only 5 spades,
perhaps something like KJTxx xx Axxx xx. Partner's D8 has to show some
interest in D. The safest return now is certainly H. because declarer may
have some problems return to hand. D return is also usually safe, unless
partner signals D8 from 8x. Even if that's the case, I don't think it
matters because it's also cold. One interesting case is th... 阅读全帖
p***r
发帖数: 20570
28
来自主题: Bridge版 - play 4S
I wasn't saying it's a clear play. However, in this situation, if declarer
is very likely to hold a shortness and you hold 5 or more diamonds, then
declarer usually has D shortness. Based on this guess, it's normal to
encourage H. If declarer holds 2H + 1D, D switch shouldn't work in many
layouts because declarer can ruff one D and end play partner later with a
lot of good club holdings like AJx, KQT.
Basically, if my partner can find this defensive play, I would really say it
's a reasonable ga... 阅读全帖
j*******e
发帖数: 2168
29
来自主题: Bridge版 - 【每周一题】百慕大的3NT
If D2 is returned (which I believe is the correct play), it is clear that
declarer only has two diamonds, so pd won't duck for sure... unless he
thinks CJ is an entry...but if CJ is an entry, declarer already has at least
2S 4C 1D 2H if D is ducked...
Looks like declarer is holding sth like:
AKQJ/KJx/xx/AK??
D return is needed to rid of declarer's exit card.
pd can exit with S and let declarer play H/C himself.
H*****r
发帖数: 764
30
On Dec. 23, 2010, Ohio State athletic director Gene Smith sat at a news
conference announcing the suspension of five Buckeye players for selling
memorabilia and declared the case was closed.
Terrelle Pryor and four teammates would miss the first five games of the
2011 season but “thankfully” would receive a politically lobbied and
highly questionable one-game reprieve to play in (and save the television
ratings for) the Sugar Bowl.
Other than that, there was nothing to see, no more questions to ... 阅读全帖
y*****y
发帖数: 1208
31
3 Major treaties in history.
1. The Cairo Declaration, which was the outcome of the Cairo Conference on
November 27, 1943, states "All territories Japan had won from China, such as
Manchuria (Dongbei), Formosa (Taiwan), and the Pescadores (Penghu), shall
be restored to the Republic of China." The Cairo Declaration is signed by US
, UK, and China, and cited in Clause Eight (8) of the Potsdam Declaration,
which is referred by the Japanese Instrument of Surrender.
2. The Potsdam Declaration or the ... 阅读全帖
l***n
发帖数: 896
32
正解!
原创吗?

3 Major treaties in history.
1. The Cairo Declaration, which was the outcome of the Cairo Conference on
November 27, 1943, states "All territories Japan had won from China, such as
Manchuria (Dongbei), Formosa (Taiwan), and the Pescadores (Penghu), shall
be restored to the Republic of China." The Cairo Declaration is signed by US
, UK, and China, and cited in Clause Eight (8) of the Potsdam Declaration,
which is referred by the Japanese Instrument of Surrender.
2. The Potsdam Declarati... 阅读全帖
m**d
发帖数: 21441
33
QBASIC - Statements
命令:
BEEP, BLOAD, BSAVE, CALL, CHAIN, CHDIR, CIRCLE, CLEAR, CLOSE, CLS, COLOR,
COM, COMMON, CONST, DATA, DATE$, DECLARE, DEF, DEFDBL, DEFINT, DEFLNG,
DEFSNG, DEFSTR, DIM, DO, DRAW, END, ENVIRON, ERASE, ERROR, EXIT, FIELD,
FILES, FOR, FUNCTION, GET, GOSUB, GOTO, IF, INPUT, IOCTL, KEY, KILL, LET,
LINE, LINE INPUT, LOCATE, LOCK, LPRINT, LSET, MID$, MKDIR, NAME, ON, OPEN,
OPTION, OUT, PAINT, PALETTE, PCOPY, PEN, PLAY, POKE, PRESET, PRINT, PSET,
PUT, RANDOMIZE, READ, REDIM, REM, ... 阅读全帖
c****t
发帖数: 19049
34
来自主题: SciFiction版 - 云图 英文版
THE PACIFIC JOURNAL OF ADAM EWING
Thursday, 7th November—
Beyond the Indian hamlet, upon a forlorn strand, I happened on a trail of
recent footprints.
Through rotting kelp, sea cocoa-nuts & bamboo, the tracks led me to their
maker, a White man,
his trow-zers & Pea-jacket rolled up, sporting a kempt beard & an outsized
Beaver, shoveling
& sifting the cindery sand with a teaspoon so intently that he noticed me
only after I had hailed
him from ten yards away. Thus it was, I made the acquaintance of... 阅读全帖
R*o
发帖数: 3781
35
来自主题: TrustInJesus版 - Study and Exposition of Romans 4:1-12
4:3 Picking up on the question of whether Abraham was justified by works (wh
ich some Jews held), Paul says: this is not what the scripture teaches. It t
eaches in Genesis 15:6 that Abraham believed God and it was credited to him
as righteousness (ejpivsteusen deV jAbraaVm tw'/ qew'/ kaiV ejlogivsqh aujtw
'/ eij" dikaiosuvnhn, episteusen de Abraam to theo elogisthe auto eis dikaio
sune). In other words, Abraham was declared righteous by believing God conce
rning the promise for many descendants ... 阅读全帖
C*****e
发帖数: 367
36
来自主题: TrustInJesus版 - Glossary to the Westminster Confession
【 以下文字转载自 Church 俱乐部 】
发信人: CCBible (神同在圣经), 信区: Church
标 题: Glossary to the Westminster Confession
发信站: BBS 未名空间站 (Tue Apr 24 21:16:33 2012, 美东)
Glossary to the Westminster Confession
Explanations of all archaic and uncommon words, usages, and expressions, in
the order in which they occur.
Title Confession. n. Public statement of religious beliefs.
1.1 Providence. n. Divine care. Manifest. v. Show. Are they. idiom. T
hey are. Unto. prep. With regard to. Sundry. adj. Separate. D... 阅读全帖
m****s
发帖数: 18160
37
来自主题: TrustInJesus版 - [合集] 查经贴-使徒行传
☆─────────────────────────────────────☆
Dramaer (不要问我从那里来) 于 (Fri Oct 22 12:02:52 2010, 美东) 提到:
Act 1:1-11 Jesus Taken Up Into Heaven
1In my former book, Theophilus, I wrote about all that Jesus began to do and
to teach 2until the day he was taken up to heaven, after giving
instructions through the Holy Spirit to the apostles he had chosen. 3After
his suffering, he showed himself to these men and gave many convincing
proofs that he was alive. He appeared to them over a period of forty days
... 阅读全帖
T*****n
发帖数: 2456
38
来自主题: TrustInJesus版 - 天主教东正教联合声明(1965)
The Catholic–Orthodox Joint Declaration of 1965 was read out on 7 December
1965 simultaneously at a public meeting of the Second Vatican Council in
Rome and at a special ceremony in Istanbul. It withdrew the exchange of
excommunications between prominent ecclesiastics in the Holy See and the
Ecumenical Patriarchate of Constantinople, commonly known as the Great
Schism of 1054. It did not end the schism but showed a desire for greater
reconciliation between the two churches, represented by Pope P... 阅读全帖
i*****w
发帖数: 75
39
来自主题: Database版 - 问个mssql 问题
The following code is not optimized for performance, I just would like to
show the steps to solve the problem.
HTH
-- Data Preparation for Table A
declare @TblA table(name varchar(20), project varchar(10), score int)
insert into @TblA(name, project, score)
select 'Jack', 'A', 100
union all
select 'Jack', 'B', 50
union all
select 'Jack', 'C', 50
union all
select 'Susan', 'A' , 50
union all
select 'Susan', 'B' , 50
-- ... 阅读全帖
l******9
发帖数: 579
40
I am designing a SQL Server 2008 R2 query.
If I used string concatenation to insert into table, it does not work.
DECLARE @s1 varchar(MAX);
DECLARE @s2 varchar(MAX);
DECLARE @s3 varchar(MAX);
DECLARE @s4 varchar(MAX);
SET @s1 = 'SELECT a.id, b.name as new_name, a.value FROM ['
SET @s2 = '].[dbo].[table1] as a, '
SET @s3 = 'a_temp_table as b ' -- a_temp_table is a table variable. No
matter I put "@" or "#" in front of a_temp_table, it doe snot work.
SET @s4 = 'WHERE a.id = b.i... 阅读全帖
W******c
发帖数: 23
41
来自主题: Java版 - Java interview Question(31-50)
31. What is the difference between preemptive scheduling and time slicing?
Under preemptive scheduling, the highest priority task executes until it enters the waiting or dead states or a higher priority task comes into existence. Under time
slicing, a task executes for a predefined slice of time and then reenters the pool of ready tasks. The scheduler then determines which task should execute next, based
on priority and
other factors.
32. Name three Component subclasses that support painting.
Th... 阅读全帖
m****s
发帖数: 1481
42
我需要读取一个数据文件,然后把读出来的数据放到不同的变量里,因为这些变量的长
度不确定,所以都是临时根据长度分配内存,code如下:
... main(){
...
...
int *a,length_a;
double *d,length_d;
char *c,length_c;
FILE *fp;
... 打开文件代码...
...读文件,获取变量a,d,c的长度...
a= new int[length_a];
d= new double[length_d];
c= new char[length_c];
...计算,处理...
delete[] a;
delete[] d;
delete[] c;
}
这种最基本的方法运行没问题。
现在因为我要load的变量很多,所以我想把loading用一个函数来做。如果只有一个变
量,我可以把它的pointer定义在main里面,然后用一个函数读取文件,在函数里
declare一个临时pointer,分配内存,赋值,然后返回这个pointer。
但是如果多个变量的情况怎么做呢?
我先试了把多个变量的指针传递给子函数,在子函数里declare... 阅读全帖
t****t
发帖数: 6806
43
来自主题: Programming版 - C++ syntax question
ok, let me explain a bit. this is easy to get wrong.
i believe your original intention is to declare a string object sContent,
and initialize it with 2 iterators. that is fine. however, just as
int b;
declare an integer object b, while
int b();
declares a function called b, returning int, taking no parameters.
your 2nd statement (i will omit decorations)
string a(istreambuf_iterator(fi), istreambuf_iterator());
declares a function called a, returning string, taking 2 parameters: firs... 阅读全帖
l******9
发帖数: 579
44
I am designing a SQL Server 2008 R2 query.
If I used string concatenation to insert into table, it does not work.
DECLARE @s1 varchar(MAX);
DECLARE @s2 varchar(MAX);
DECLARE @s3 varchar(MAX);
DECLARE @s4 varchar(MAX);
SET @s1 = 'SELECT a.id, b.name as new_name, a.value FROM ['
SET @s2 = '].[dbo].[table1] as a, '
SET @s3 = 'a_temp_table as b ' -- a_temp_table is a table variable. No
matter I put "@" or "#" in front of a_temp_table, it doe snot work.
SET @s4 = 'WHERE a.id = b.i... 阅读全帖
c*****1
发帖数: 3240
45
来自主题: History版 - [合集] 美国显然更像罗马帝国
☆─────────────────────────────────────☆
genghishan (大汉) 于 (Mon Feb 15 17:41:19 2010, 美东) 提到:
欧洲=古希腊,文明古国,内部基本同宗的城邦(英法德等日耳曼人后裔建立的国家)
争斗不休。
美国=古罗马,发迹于西部(罗马之于希腊,美国之于欧洲)落后的文明的角落,凭借
超群的军事能力,吃苦耐劳的百姓,坚韧不拔的公民兵以及优越的自然地理环境后来居
上,先征服当地部落(印第安人)和驱除外部凯尔特人,希腊人,迦太基人势力(美国
击败英国殖民,驱逐北美大陆上,西班牙,法国,荷兰等国家的势力)统一意大利半岛
。在二次大战里面彻底击败纳粹德国,取代大英帝国成为世界霸主(罗马击败皮尔斯王,彻底征服意大利南部希腊人移民城市;罗马在Battle of Pydna里面,决定性的击垮马其顿王和证明罗马中队战阵对希腊重步兵方阵的优势,彻底征服希腊本土)。
罗马现在像第二次布诺战争结束(前苏联=迦太基)后,基本成为世界独大,但是带来的后果就是中产阶级在廉价的奴隶劳动力(made in China, Mexican il... 阅读全帖
c***r
发帖数: 4631
46
不知道这样的东西算书么, 1772 BCE的样子。刻的内容如下:
CODE OF LAWS
1. If any one ensnare another, putting a ban upon him, but he can not prove
it, then he that ensnared him shall be put to death.
2. If any one bring an accusation against a man, and the accused go to the
river and leap into the river, if he sink in the river his accuser shall
take possession of his house. But if the river prove that the accused is not
guilty, and he escape unhurt, then he who had brought the accusation shall
be put to death, while he... 阅读全帖
w**j
发帖数: 1032
47
http://listverse.com/2007/08/17/top-10-most-wicked-popes/
Out of the 266 Popes to have ruled the Catholic Church, ten in particular
stand out for their wickedness. This is a list of the ten with a description
of their errors and faults.
1. Liberius, reigned 352-66 [Catholic Encyclopaedia]
Pope Liberius is the first Pope not to be canonised a saint. He reigned
during the height of the Arian crisis during which a large majority of the
Church believed that Jesus was not God, but merely a man. The A... 阅读全帖
x******g
发帖数: 33885
48
Romney is the unelectable candidate, not Dr. Paul.
6. Dr. Paul not an "isolationist". He is a veteran who believes in only
going to war when it has been formally declared per the U.S. Constitution. "
We shouldn't have so many injured and in our hospitals because we shouldn't
go to war unless it's declared. If it's declared, we should go win it and
get it over with." If he were an isolationist, what reason would he be the
candidate who gets the most donations from people in the military? Dr. Paul... 阅读全帖
T*R
发帖数: 36302
49
Ferraris Out of Fashion in Italy as Police Nab Tax Evaders
Feb. 9 (Bloomberg) -- Police fanned out across Milan in late January halting
more than 350 vehicles, mostly luxury SUVs and Porsches, in a bid to catch
tax evaders. Bloomberg Television's Caroline Hyde reports. (Source:
Bloomberg)
Enlarge image
Italy is No Place for Tax Evaders To Buy a Ferrari Victor Sokolowicz/
Bloomberg
A Ferrari SpA logo is displayed on the trunk of an automobile at the company
's plant in Maranello.
A Ferrari SpA ... 阅读全帖
H****g
发帖数: 14447
50
来自主题: Military版 - 毛泽东去世时纽约时报的讣告
1. 证实了毛泽东1975年写给周恩来这首诗。
《江山靠谁守·诉衷情》
当年忠贞为国筹,
何曾怕断头?
如今天下红遍,
江山靠谁守?
业未竟,
身躯倦,
鬓已秋。
你我之辈,
忍将夙愿,
付与东流?
2. 证实了1976年之前根本没有所谓饿死三千万或者大饥荒之说。
3. 毛泽东1975年的担心,或者说1964年的担心,都变成了现实。
4. 毛泽东唯一的遗产就是留给人民的造反精神,终将成燎原之火。
Mao Tse-Tung: Father of Chinese Revolution
By Fox Butterfield
Special to The New York Times
HONG KONG, Sept. 9--Mao Tse-tung, who began as an obscure peasant, died one
of history's great revolutionary figures.
Born at a time when China was wracked by civil strife, beset with terrible
poverty and enc... 阅读全帖
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)