您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 管理学资料 > C Language Tutorial
CLANGUAGETUTORIALThistutorialteachestheentireCprogramminglanguage.Itiscomposedof13chapterswhichshouldbestudiedinordersincetopicsareintroducedinalogicalorderandbuildupontopicsintroducedinpreviouschapters.Itistothestudentsbenefittodownloadthesourcecodefortheexampleprograms,thencompileandexecuteeachprogramasitisstudied.Thediligentstudentwillmodifytheexampleprograminsomeway,thenrecompileandexecuteittoseeifheunderstandsthematerialstudiedforthatprogram.Thiswillprovidethestudentwithvaluableexperienceusinghiscompiler.Therecommendedmethodofstudyistoprintthetextforoneortwochapters,downloadtheexampleprograms,andstudythematerialbyloadingtheexampleprogramsinthecompiler'seditorforviewing.Followingsuccessfulcompletionofeachchapter,additionalchapterscanbedownloadedasprogressismade.Version2.8-Sept8,1996Thistutorialisdistributedassharewarewhichmeansthatyoudonothavetopaytouseit.However,theauthorspentagooddealoftimeandfinancialresourcestodevelopthistutorialandrequeststhatyoushareinthefinancialburdeninaverysmallway,butonlyifyoufeltthetutorialwasvaluabletoyouasanaidinlearningtoprograminC.Ifyouwishtoremitasmallpaymenttotheauthor,fullinstructionsfordoingsowillbegivenbyclickingthelinkbelow.Ifyoudonotwishtoremitanypayment,pleasefeelfreetousethetutorialanyway.Ineithercase,IhopeyoufindprogramminginCtoberewardingandprofitable.Ipersonallythinkitisanexcellentlanguage.HowtoRemitPaymentForthisTutorial!Introduction-WhatisCandwhystudyit?Chapter1-GettingStartedChapter2-ProgramStructureChapter3-ProgramControlChapter4-Assignment&LogicalCompareChapter5-Functions,Variables,&PrototypingChapter6-TheCPreprocessorChapter7-StringsandArraysChapter8-PointersChapter9-StandardInput/OutputChapter10-FileInput/OutputChapter11-StructuresChapter12-DynamicAllocationChapter13-CharacterandBitManipulationSourceCode-(csrc.zip)Downloadallexampleprograms.Thisfile(about41k)contains79sourcefileswhichareallexplainedinthe13chaptersoftext.Therearenoexecutablefilesinthisgroupoffiles.AnswerstoExercises-(cans.zip)Downloadtheauthorsanswerstoalloftheprogrammingexercises.Thisfile(about11k)contains27sourcefiles.Therearenoexecutablefilesinthisgroupoffiles.pkunzipexecutable-(pkunzip.exe)Downloadpkunzip.exeversion2.04tounzipthesourcecode.Thisexecutableispre-registeredforyouruseinunzippinganyCoronadoEnterprisestutorialfiles.ItwillunpackandgeneratethezippedfilesinthecurrentdirectoryandallwillbeASCIIsourcecodefiles.Tounzipthesourcecodefiles,executethefollowingDOScommand;pkunzipcsrc.zipOr,tounziptheanswerstoprogrammingexercises,executethefollowingDOScommand;pkunzipcans.zipCopyright©1988-1996CoronadoEnterprises-Lastupdate,September8,1996GordonDodrill-dodrill@swcp.com-Pleaseemailanycommentsorsuggestions.CORONADOENTERPRISESTUTORIALSHOWTOREGISTERAMOUNTOFPAYMENTIfyouaresatisfiedwiththequalityofthetutorial(s)whichyouareinterestedin,youcansubmitaregistrationfeetohelpdefraythecostofdevelopingthetutorialandtoprovidefundsfordevelopingadditionaltutorialsorprogramminginformation.Thereisnofixedfeeforusingoneormoretutorials,soyoushouldconsiderthefollowingamountsassuggestedfees.Youcanpaywhateveryouthinktheinformationisworth.RegistrationFeeforanysingletutorial-$15.00suggested.RegistrationFeetocoveralltutorials-$25.00suggested.RegistrationFeeforeducationalinstitutions-Onehalfoftheaboveamounts.(pleaseregisterasagroupwithasinglepaymentifpossibletoreducepaperwork.)METHODOFPAYMENTMethod1-MastercardorVisaviaemail.Method2-MastercardorVisaviaPostOfficeMethod3-CheckorMoneyOrderviaPostOfficeWHATYOUWILLRECEIVEFORREGISTERINGYouwillreceiveahardcopyreceiptandathankyouifyousendapostaladdress,andanemailreceiptandathankyouifyouonlyprovideanemailaddress.ThereisreallynothingadditionaltoofferyousinceallofthetutorialsareavailablefordownloadingintheirentirityfromthisWebsite.Thereisnocripplewarewithinthiswebsite,norwillthereeverbe.Cripplewareislimitedcapabilitysoftwareforwhichapaymentisrequiredtogetthefullversion.ThankyouforyourinterestinourtutorialsandforvisitingourWebsite.CoronadoEnterprises-Lastupdate,May2,1996GordonDodrill-dodrill@swcp.com-Pleaseemailanycommentsorsuggestions.IntroductiontotheCTutorialCISUSUALLYFIRSTTheprogramminglanguageCwasoriginallydevelopedbyDennisRitchieofBellLaboratoriesandwasdesignedtorunonaPDP-11withaUNIXoperatingsystem.AlthoughitwasoriginallyintendedtorununderUNIX,therehasbeenagreatinterestinrunningitundertheMS-DOSoperatingsystemontheIBMPCandcompatibles.Itisanexcellentlanguageforthisenvironmentbecauseofthesimplicityofexpression,thecompactnessofthecode,andthewiderangeofapplicability.Also,duetothesimplicityandeaseofwritingaCcompiler,itisusuallythefirsthighlevellanguageavailableonanynewcomputer,includingmicrocomputers,minicomputers,andmainframes.Cisnotthebestbeginninglanguagebecauseitissomewhatcrypticinnature.Itallowstheprogrammerawiderangeofoperationsfromhighleveldowntoaverylowlevel,approachingthelevelofassemblylanguage.Thereseemstobenolimittotheflexibilityavailable.OneexperiencedCprogrammermadethestatement,YoucanprogramanythinginC,andthestatementiswellsupportedbymyownexperiencewiththelanguage.Alo
本文标题:C Language Tutorial
链接地址:https://www.777doc.com/doc-4427887 .html