语句ofstreamf(“”,ios::app|ios::binary)?的功能是建立流对象f,试图打开文件并与之连接,并且()

A、若文件存在,将文件写指针定位于文件尾;若文件不存在,建立一个新文件
B、若文件存在,将其置为空文件;若文件不存在,打开失败
C、若文件存在,将文件写指针定位于文件首;若文件不存在,建立一个新文件
D、若文件存在,打开失败;若文件不存在,建立一个新文件
查看答案
正确答案:

A

答案解析:

暂无解析

上一题
你可能感兴趣的试题

PartVWriting

写作指导

这是一篇描写文(Description)。用通俗的话说,描写文就是用文字给人物、地点、景物画象。一篇描写文主要是通过所感受的细节——所见所闻发展而来的。在写人时,不仅仅要用细节描写其外貌,而要注重通过他的言行来表现其人物性格、思想和品德,更要抓住他区别于他人的性格特点,这样就容易给读者留下深刻的印象。短文的第一、二段叙述故事发生的时间、地点,故事发生的原因及故事所涉及的人物。文章的三、四、五段描写的是人物的外貌,穿着及性格特点。通过对人物言行的简单描写来揭示主人翁的助人为乐的高尚精神。短文的最后一段,要用一句话概括作者对主人翁的看法:Agoodguy。文章有描述,有议论,要加叙加议,有血有肉,上下文连贯要紧密,首尾要呼应,人和事要给人们留下深刻印象。

IliveinthelandofDisney,Hollywoodandyear-roundsun.Youmaythinkpeopleinsuchaglamorous,fun-filledplacearehappierthanothers.Ifso,youhavesomemistakenideasaboutthenatureofhappiness.

Manyintelligentpeoplestillequatehappinesswithfun.Thetruthisthatfunandhappinesshavelittleornothingincommon.Funiswhatweexperienceduringanact.Happinessiswhatweexperienceafteranact.Itisadeeper,moreabidingemotion.

Goingtoanamusementparkorballgame,watchingamovieortelevision,arefunactivitiesthathelpusrelax,temporarilyforgetourproblemsandmaybeevenlaugh.Buttheydonotbringhappiness,becausetheirpositiveeffectsendwhenthefunends.

IhaveoftenthoughtthatifHollywoodstarshavearoletoplay,itistoteachusthathappinesshasnothingtodowithfun.Theserich,beautifulindividualshaveconstantaccesstoglamorousparties,fancycars,expensivehomes,everythingthatspells“happiness”.Butinmemoiraftermemoir,celebritiesrevealtheunhappinesshiddenbeneathalltheirfun:depression,alcoholism,drugaddiction,brokenmarriages,troubledchildrenandprofoundloneliness.

Askabachelorwhyheresistsmarriageeventhoughhefindsdatingtobelessandlesssatisfying.Ifhe’shonest,hewilltellyouthatheisafraidofmakingacommitment.Forcommitmentisinfactquitepainful.Thesinglelifeisfilledwithfun,adventureandexcitement.Marriagehassuchmoments,buttheyarenotitsmostdistinguishingfeatures.

Similarly,couplesthatchoosenottohavechildrenaredecidinginfavorofpainlessfunoverpainfulhappiness.Theycandineoutevertheywantandsleepaslateastheywant.Coupleswithinfantchildrenareluckytogetawholenight’ssleeporathree-dayvacation.Idon’tknowanyparentwhowouldchoosethewordfuntodescriberaisingchildren.

Understandingandacceptingthattruehappinesshasnothingtodowithfunisoneofthemostliberatingrealizationswecanevercometo.Itliberatestime:nowwecandevotemorehourstoactivitiesthatcangenuinelyincreaseourhappiness.Itliberatesmoney:buyingthatnewcarorthosefancyclothesthatwilldonothingtoincreaseourhappinessnowseemspointless.Anditliberatesusfromenvy:wenowunderstandthatallthoserichandglamorouspeopleweweresosurearehappybecausetheyarealwayshavingsomuchfunactuallymaynotbehappyatall.

1.Whichofthefollowingistrue?

A.Funcreateslong-lastingsatisfaction.

B.Funprovidesenjoymentwhilepainleadstohappiness.

C.Happinessisenduringwhereasfunisshort-lived.

D.Funthatislong-standingmayleadtohappiness.

2.Totheauthor,Hollywoodstarsallhaveanimportantroletoplaythatisto__.

A.ritememoiraftermemoirabouttheirhappiness.

B.tellthepublicthathappinesshasnothingtodowithfun.

C.teachpeoplehowtoenjoytheirlives.

D.bringhappinesstothepublicinsteadofgoingtoglamorousparties.

3.Intheauthor’sopinion,marriage___.

A.affordsgreaterfun.

B.leadstoraisingchildren.

C.indicatescommitment.

D.endsinpain.

4.Coupleshavinginfantchildren___.

A.areluckysincetheycanhaveawholenight’ssleep.

B.findfunintuckingthemintobedatnight.

C.findmoretimetoplayandjokewiththem.

D.derivehappinessfromtheirendeavor.

5.Ifonegetthemeaningofthetruesenseofhappiness,hewill__.

A.stopplayinggamesandjokingwithothers.

B.makethebestuseofhistimeincreasinghappiness.

C.giveafreehandtomoney.

D.keephimselfwithhisfamily.

ThediscoveryoftheAntarcticnotonlyprovedoneofthemostinterestingofallgeographicaladventures,butcreatedwhatmightbecalled“theheroicageofAntarcticexploration”.Bytheirtremendousheroism,mensuchasShakleton,Scott,andAmundsencausedanewcontinenttoemergefromtheshadows,andyetthatheroicage,littlemorethanacenturyold,isalreadypassing.Modernscienceandinventionsarerevolutionizingtheendurance,futurejourneysintotheseicywasteswillprobablydependonmotorvehiclesequippedwithcaterpillartractionratherthanonthedogsthatearlierdiscoverersfoundsoinvaluableandhardlycomparable.

FewrealizethatthisAntarcticcontinentisalmostequalinsizetoSouthAmerica,andenormousfieldofworkawaitsgeographersandprospectors.Thecoastsofthiscontinentremaintobeaccuratelycharted,andthemapingofthewholeoftheinteriorpresentsaformidabletasktothecartographerswhoundertakethework.Oncetheirlaborsarecompleted,itwillbepossibletoprospectthevastnaturalresourceswhichscientistsbelievewillfurnishoneofthelargesttreasurehoardsofmetalsandmineralstheworldhasyetknown,andalmostinexhaustiblesourcesofcopper,coal,uranium,andmanyotheroreswillbecomeavailabletoman.SuchdiscoverieswillusherinaneraofpracticalexploitationoftheAntarcticwastes.

Thepolardarknesswhichhidesthiscontinentforthesixwintermonthswillbedefeatedbyhugebatteriesoflight,andmakepossibletheestablishingofair-fieldsforthefutureinter-continentalairservicesbymakingtheseareasaslightasday.Presentflyingrouteswillbecompletelychanged,fortheAntarcticrefuelingbaseswillmakeflightsfromAustraliatoSouthAmericacomparativelyeasyoverthe5,000milesjourney.

Theclimateisnotlikelytoofferaninsuperableproblem,fortheexplorerAdmiralByrdhasshownthattheclimateispossibleevenformencompletelyuntrainedforexpeditionsintothosefrozenwastes.Someofhispartiesweremenwhohadneverseensnowbefore,andyetherecordsthattheysurvivedtherigorsoftheAntarcticclimatecomfortably,sothat,providedthattheappropriateinstallationsaremade,wemayassumethathumanbeingsfromallcountriescouldlivetheresafely.Byrdevenaffirmsthatitisprobablythemosthealthyclimateintheworld,fortheintensecoldofthousandsofyearshassterilizethiscontinent,andrendereditabsolutelygermfree,withtheconsequencesthatordinaryandextraordinarysicknessanddiseasesfromwhichmansuffersinotherzoneswithdifferentclimatesarehereutterlyunknown.Thereexistnoproblemsofconservationandpreservationoffoodsupplies,forthelatterkeepindefinitelywithoutanysignsofdeterioration;itmayevenbethatlatergenerationswillcometoregardtheAntarcticasthenaturalstorehouseforthewholeworld.

Plansarealreadyonfoottosetuppermanentbasesontheshoresofthiscontinent,andwhatsofewyearsagowasregardedasa“deadcontinent”nowpromisestobeamostactivecenterofhumanlifeandendeavor.

1.WhendidmanbegintoexploretheAntarctic?

A.About100yearsago.

B.Inthiscentury.

C.Atthebeginningofthe19thcentury.

D.In1798.

2.Whatmusttheexplorersbe,eventhoughtheyhavemodernequipmentandtechniques?

A.Braveandtough

B.Stubbornandarrogant.

C.Well-likedandhumorous.

D.Stoutandsmart.

3.Themosthealthyclimateintheworldis___.

A.inSouthAmerica.

B.intheArcticRegion.

C.intheAntarcticContinent.

D.intheAtlanticOcean.

4.WhatkindofmetalsandmineralscanwefindintheAntarctic?

A.Magnetite,coalandores.

B.Copper,coalanduranium.

C.Silver,naturalgasanduranium.

D.Aluminum,copperandnaturalgas.

5.Whatisplannedforthecontinent?

A.Buildingdamsalongthecoasts.

B.Settingupseveralsummerresortsalongthecoasts.

C.Mappingthecoastandwholeterritory.

D.Settinguppermanentbasesonthecoasts.

正常枕先露分娩时,仰伸发生于

A、胎头拨露时
B、胎头着冠时
C、胎头枕骨在耻骨弓后时
D、胎头枕骨下部达耻骨联合下缘时
E、胎头后囟在耻骨弓后时

当正压人工呼吸与胸外按压配合进行时大约每分钟各多少次?

A、30次呼吸,90次按压
B、40次呼吸,80次按压
C、60次呼吸,60次按压
D、60次呼吸,120次按压
热门试题 更多>
相关题库更多>
微型计算机及接口技术
软件工程
离散数学
计算机组成原理
计算机系统结构
计算机网络管理
互联网软件应用与开发
电子商务概论
电子技术基础三
操作系统概论
操作系统
C++程序设计
试卷库
试题库