亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? bc

?? unix v7是最后一個廣泛發布的研究型UNIX版本
??
?? 第 1 頁 / 共 2 頁
字號:
x =+ y	x = x+yx =\- y	x = x\-yx =* y	x = x*yx =/ y	x = x/yx =% y	x = x%yx =^ y	x = x^yx++	(x=x+1)\-1x\-\-	(x=x\-1)+1++x	x = x+1\-\-x	x = x\-1.DEEven if you don't intend to use the constructs,if you type one inadvertently, something correct but unexpectedmay happen..PPWARNING!  In some of these constructions, spaces aresignificant.There is a real difference betweenx=\-y and x= \-y.The first replaces x by x\-y and the second by \-y..SHThree Important Things.PP1.  To exit a BC program, type `quit'..PP2. There is a comment convention identical to that of C andof PL/I.  Comments begin with `/*' and end with `*/'..PP3. There is a library of math functions which may be obtained bytyping at command level.DSbc \-l.DEThis command will load a set of library functionswhich, at the time of writing, consists of sine (named `s'),cosine (`c'), arctangent (`a'), natural logarithm (`l'),exponential (`e') and Bessel functions of integer order (`j(n,x)').  Doubtless more functions will be addedin time.The library sets the scale to 20.  You can reset it to somethingelse if you like.The design of these mathematical library routinesis discussed elsewhere [3]..PPIf you type.DSbc file ....DEBC will read and execute the named file or files before acceptingcommands from the keyboard.  In this way, you may load yourfavorite programs and function definitions..SHAcknowledgement.PPThe compiler is written in YACC [4]; its originalversion  was written by S. C. Johnson..SHReferences.IP [1]K. Thompson and D. M. Ritchie,.ft IUNIX Programmer's Manual,.ftBell Laboratories,1978..IP [2]B. W. Kernighan andD. M. Ritchie,.ft IThe C Programming Language,.ftPrentice-Hall, 1978..IP [3]R. Morris,.ft IA Library of Reference Standard Mathematical Subroutines,.ftBell Laboratories internal memorandum, 1975..IP [4]S. C. Johnson,.ft IYACC \(em Yet Another Compiler-Compiler..ftBell Laboratories Computing Science Technical Report #32, 1978..IP [5]R. Morris and L. L. Cherry,.ft IDC \- An Interactive Desk Calculator..ft.LP.bp.ft B.DS CAppendix.DE.ft.NHNotation.PPIn the following pages syntactic categories are in \fIitalics\fP;literals are in \fBbold\fP; material in brackets [\|] is optional..NHTokens.PPTokens consist of keywords, identifiers, constants, operators,and separators.Token separators may be blanks, tabs or comments.Newline characters or semicolons separate statements..NH 2Comments.PPComments are introduced by the characters /* and terminated by*/..NH 2Identifiers.PPThere are three kinds of identifiers \- ordinary identifiers, array identifiersand function identifiers.All three types consist of single lower-case letters.Array identifiers are followed by square brackets, possiblyenclosing an expression describing a subscript.Arrays are singly dimensioned and may contain up to 2048elements.Indexing begins at zero so an array may be indexed from 0 to 2047.Subscripts are truncated to integers.Function identifiers are followed by parentheses, possibly enclosing arguments.The three types of identifiers do not conflict;a program can have a variable named \fBx\fP,an array named \fBx\fP and a function named \fBx\fP, all of which are separate anddistinct..NH 2Keywords.PPThe following are reserved keywords:.ft B.ta .5i 1.0i.nf	ibase	if	obase	break	scale	define	sqrt	auto	length	return	while	quit	for.fi.ft.NH 2Constants.PPConstants consist of arbitrarily long numberswith an optional decimal point.The hexadecimal digits \fBA\fP\-\fBF\fP are also recognized as digits withvalues 10\-15, respectively..NH 1Expressions.PPThe value of an expression is printed unless the mainoperator is an assignment.Precedence is the same as the orderof presentation here, with highest appearing first.Left or right associativity, where applicable, isdiscussed with each operator..bp.NH 2Primitive expressions.NH 3Named expressions.PPNamed expressions areplaces where values are stored.Simply stated,named expressions are legal on the leftside of an assignment.The value of a named expression is the value stored in the place named..NH 4\fIidentifiers\fR.PPSimple identifiers are named expressions.They have an initial value of zero..NH 4\fIarray-name\fP\|[\|\fIexpression\fP\|].PPArray elements are named expressions.They have an initial value of zero..NH 4\fBscale\fR, \fBibase\fR and \fBobase\fR.PPThe internal registers\fBscale\fP, \fBibase\fP and \fBobase\fP are all named expressions.\fBscale\fP is the number of digits after the decimal point to beretained in arithmetic operations.\fBscale\fR has an initial value of zero.\fBibase\fP and \fBobase\fP are the input and output numberradix respectively.Both \fBibase\fR and \fBobase\fR have initial values of 10..NH 3Function calls.NH 4\fIfunction-name\fB\|(\fR[\fIexpression\fR\|[\fB,\|\fIexpression\|\fR.\|.\|.\|]\|]\fB).PPA function call consists of a function name followed by parenthesescontaining a comma-separated list ofexpressions, which are the function arguments.A whole array passed as an argument is specified by thearray name followed by empty square brackets.All function arguments are passed byvalue.As a result, changes made to the formal parameters haveno effect on the actual arguments.If the function terminates by executing a returnstatement, the value of the function isthe value of the expression in the parentheses of the returnstatement or is zero if no expression is providedor if there is no return statement..NH 4sqrt\|(\|\fIexpression\fP\|).PPThe result is the square root of the expression.The result is truncated in the least significant decimal place.The scale of the result isthe scale of the expression or thevalue of.ft Bscale,.ftwhichever is larger..NH 4length\|(\|\fIexpression\fP\|).PPThe result is the total number of significant decimal digits in the expression.The scale of the result is zero..NH 4scale\|(\|\fIexpression\fP\|).PPThe result is the scale of the expression.The scale of the result is zero..NH 3Constants.PPConstants are primitive expressions..NH 3Parentheses.PPAn expression surrounded by parentheses isa primitive expression.The parentheses are used to alter thenormal precedence..NH 2Unary operators.PPThe unary operatorsbind right to left..NH 3\-\|\fIexpression\fP.PPThe result is the negative of the expression..NH 3++\|\fInamed-expression\fP.PPThe named expression isincremented by one.The result is the value of the named expression afterincrementing..NH 3\-\-\|\fInamed-expression\fP.PPThe named expression isdecremented by one.The result is the value of the named expression afterdecrementing..NH 3\fInamed-expression\fP\|++.PPThe named expression isincremented by one.The result is the value of the named expression beforeincrementing..NH 3\fInamed-expression\fP\|\-\-.PPThe named expression isdecremented by one.The result is the value of the named expression beforedecrementing..NH 2Exponentiation operator.PPThe exponentiation operator binds right to left..NH 3\fIexpression\fP ^ \fIexpression\fP.PPThe result is the firstexpression raised to the power of thesecond expression.The second expression must be an integer.If \fIa\fPis the scale of the left expressionand \fIb\fP is the absolute valueof the right expression,then the scale of the result is:.PPmin\|(\|\fIa\(mub\fP,\|max\|(\|\fBscale\fP,\|\fIa\fP\|)\|).NH 2Multiplicative operators.PPThe operators *, /, % bind left to right..NH 3\fIexpression\fP * \fIexpression\fP.PPThe result is the productof the two expressions.If \fIa\fP and \fIb\fP are thescales of the two expressions,then the scale of the result is:.PPmin\|(\|\fIa+b\fP,\|max\|(\|\fBscale\fP,\|\fIa\fP,\|\fIb\fP\|)\|).NH 3\fIexpression\fP / \fIexpression\fP.PPThe result is the quotient of the two expressions.The scale of the result is the value of \fBscale\fR..NH 3\fIexpression\fP % \fIexpression\fP.PPThe % operator produces the remainder of the divisionof the two expressions.More precisely,\fIa\fP%\fIb\fP is \fIa\fP\-\fIa\fP/\fIb\fP*\fIb\fP..PPThe scale of the result is the sum of the scale ofthe divisor and the value of.ft Bscale.ft.NH 2Additive operators.PPThe additive operators bind left to right..NH 3\fIexpression\fP + \fIexpression\fP.PPThe result is the sum of the two expressions.The scale of the result isthe maximun of the scales of the expressions..NH 3\fIexpression\fP \- \fIexpression\fP.PPThe result is the difference of the two expressions.The scale of the result is themaximum of the scales of the expressions..NH 2assignment operators.PPThe assignment operators bind right to left..NH 3\fInamed-expression\fP = \fIexpression\fP.PPThis expression results in assigning the value of the expressionon the rightto the named expression on the left..NH 3\fInamed-expression\fP =+ \fIexpression\fP.NH 3\fInamed-expression\fP =\- \fIexpression\fP.NH 3\fInamed-expression\fP =* \fIexpression\fP.NH 3\fInamed-expression\fP =/ \fIexpression\fP.NH 3\fInamed-expression\fP =% \fIexpression\fP.NH 3\fInamed-expression\fP =^ \fIexpression\fP.PPThe result of the above expressions is equivalentto ``named expression = named expression OP expression'',where OP is the operator after the = sign..NH 1Relations.PPUnlike all other operators, the relational operatorsare only valid as the object of an \fBif\fP, \fBwhile\fP,or inside a \fBfor\fP statement..NH 2\fIexpression\fP < \fIexpression\fP.NH 2\fIexpression\fP > \fIexpression\fP.NH 2\fIexpression\fP <= \fIexpression\fP.NH 2\fIexpression\fP >= \fIexpression\fP.NH 2\fIexpression\fP == \fIexpression\fP.NH 2\fIexpression\fP != \fIexpression\fP.NH 1Storage classes.PPThere are only two storage classes in BC, global and automatic(local).Only identifiers that are to be local to a function need be declared with the \fBauto\fP command.The arguments to a functionare local to the function.All other identifiers are assumed to be globaland available to all functions.All identifiers, global and local, have initial valuesof zero.Identifiers declared as \fBauto\fP are allocated on entry to the function and released on returning from the function.They therefore do not retain values between function calls.\fBauto\fP arrays are specified by the array name followed by empty square brackets..PPAutomatic variables in BC do not work in exactly the same wayas in either C or PL/I.  On entry to a function, the old values ofthe names that appear as parameters and as automaticvariables are pushed onto a stack.  Until return is made from the function, reference to thesenames refers only to the new values..NH 1Statements.PPStatements must be separated by semicolon or newline.Except where altered by control statements, executionis sequential..NH 2Expression statements.PPWhen a statement is an expression, unlessthe main operator is an assignment, the valueof the expression is printed, followed by a newline character..NH 2Compound statements.PPStatements may be grouped together and used when one statement is expectedby surrounding them with { }..NH 2Quoted string statements.PP"any string".sp .5This statement prints the string inside the quotes..NH 2If statements.sp .5\fBif\|(\|\fIrelation\fB\|)\|\fIstatement\fR.PPThe substatement is executed if the relation is true..NH 2While statements.sp .5\fBwhile\|(\|\fIrelation\fB\|)\|\fIstatement\fR.PPThe statement is executed while the relationis true.The test occurs before each execution of the statement..NH 2For statements.sp .5\fBfor\|(\|\fIexpression\fB; \fIrelation\fB; \fIexpression\fB\|)\|\fIstatement\fR.PPThe for statement is the same as.nf.ft I	first-expression	\fBwhile\|(\fPrelation\|\fB) {\fP		statement		last-expression	}.ft R.fi.PPAll three expressions must be present..NH 2Break statements.sp .5\fBbreak\fP.PP\fBbreak\fP causes termination of a \fBfor\fP or \fBwhile\fP statement..NH 2Auto statements.sp .5\fBauto \fIidentifier\fR\|[\|\fB,\fIidentifier\fR\|].PPThe auto statement causes the values of the identifiers to be pushed down.The identifiers can be ordinary identifiers or array identifiers.Array identifiers are specified by following the array name by empty squarebrackets.The auto statement must be the first statementin a function definition..NH 2Define statements.sp .5.nf\fBdefine(\|\fR[\fIparameter\|\fR[\fB\|,\|\fIparameter\|.\|.\|.\|\fR]\|]\|\fB)\|{\fI	statements\|\fB}\fR.fi.PPThe define statement defines a function.The parameters maybe ordinary identifiers or array names.Array names must be followed by empty square brackets..NH 2Return statements.sp .5\fBreturn\fP.sp .5\fBreturn(\fI\|expression\|\fB)\fR.PPThe return statement causes termination of a function,popping of its auto variables, andspecifies the result of the function.The first form is equivalent to \fBreturn(0)\fR.The result of the function is the result of the expressionin parentheses..NH 2Quit.PPThe quit statement stops execution of a BC program and returnscontrol to UNIX when it is first encountered.Because it is not treated as an executable statement,it cannot be usedin a function definition or in an .ft Bif, for,.ftor.ft Bwhile.ftstatement.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美视频一区二区三区四区| www.一区二区| 国产乱国产乱300精品| 91福利在线导航| 国产精品高潮呻吟久久| 91影院在线观看| 天天色 色综合| 欧美亚一区二区| 久久99久久99小草精品免视看| 精品视频色一区| 亚洲成人1区2区| 国产欧美日韩不卡| 欧美午夜一区二区| 蜜臀a∨国产成人精品| 国产日韩欧美激情| 欧美日韩高清一区二区三区| 国产一区二区三区日韩| 中文字幕免费观看一区| 91精品在线麻豆| 成人av电影免费观看| 日本最新不卡在线| 水蜜桃久久夜色精品一区的特点| 日韩精品一区二区三区蜜臀 | 精品一区二区三区视频在线观看 | 久久久亚洲精品一区二区三区| 国产91精品一区二区| 亚洲综合久久久| 精品国产露脸精彩对白| 欧美色窝79yyyycom| 国产精品1区2区| 亚洲444eee在线观看| 亚洲欧美日韩在线不卡| 欧美精品一区二区高清在线观看| 色婷婷综合久久久久中文一区二区 | 日韩电影在线一区二区| 亚洲精品第一国产综合野| 久久久久久99精品| 欧美一区二区精品久久911| 蜜臀99久久精品久久久久久软件| 亚洲影视在线播放| 国产欧美精品一区二区色综合| 日韩一区二区免费在线电影| 成人va在线观看| 国产高清精品网站| 秋霞国产午夜精品免费视频| 亚洲成人免费视| 亚洲综合一区在线| 国产精品理论在线观看| 久久久99免费| 精品国产乱码91久久久久久网站| 91精品欧美一区二区三区综合在| 不卡影院免费观看| 成人丝袜高跟foot| 成人激情免费电影网址| 国产成人精品亚洲777人妖| 免费不卡在线观看| 麻豆国产精品一区二区三区| 午夜av区久久| 性做久久久久久免费观看| 亚洲欧美综合另类在线卡通| 国产精品电影院| 国产精品国产三级国产aⅴ中文| 国产精品美女久久久久高潮| 国产亚洲精品7777| 久久精品免费在线观看| 日本一区二区三区在线不卡| 亚洲国产精品ⅴa在线观看| 国产香蕉久久精品综合网| 久久精品一级爱片| 国产人久久人人人人爽| 国产精品色婷婷| 国产精品蜜臀av| 亚洲男人天堂av网| 亚洲高清三级视频| 轻轻草成人在线| 久久爱www久久做| 国产高清精品久久久久| 成人短视频下载| 日本韩国欧美一区二区三区| 欧美日韩一区不卡| 日韩视频国产视频| 国产视频在线观看一区二区三区| 日本一区免费视频| 亚洲精品老司机| 日韩一区精品字幕| 国产一区二区三区在线观看精品| 成人免费三级在线| 91久久精品一区二区二区| 欧美日韩成人在线一区| 日韩欧美不卡一区| 国产日韩欧美精品在线| 一区二区三区免费看视频| 国产99精品国产| 午夜不卡av在线| 国产制服丝袜一区| 欧美亚洲动漫制服丝袜| 国产女主播在线一区二区| 图片区日韩欧美亚洲| 成人动漫一区二区在线| 日韩视频123| 亚洲免费在线看| 国产精品123| 日韩一区二区三区精品视频| 亚洲女厕所小便bbb| 国产精品亚洲第一 | 日本一区二区三级电影在线观看 | 中文字幕在线不卡一区二区三区| 日韩高清在线一区| 91麻豆精品一区二区三区| 久久精品一区二区三区四区| 欧美bbbbb| 欧美日韩在线播| 亚洲免费大片在线观看| 福利一区在线观看| 亚洲精品一区在线观看| 日韩精品久久久久久| 91九色最新地址| 亚洲视频免费在线观看| 成人av手机在线观看| 久久久亚洲欧洲日产国码αv| 蜜桃视频一区二区| 51精品视频一区二区三区| 亚洲一区二区三区四区在线观看| 99在线精品一区二区三区| 国产欧美一区二区在线| 国产黄色精品视频| 国产婷婷色一区二区三区在线| 麻豆精品新av中文字幕| 欧美一区二区在线免费观看| 亚洲一区二区三区视频在线| 91国内精品野花午夜精品| 《视频一区视频二区| 成人动漫av在线| 亚洲视频在线一区| 91年精品国产| 亚洲美女电影在线| 日本韩国一区二区三区| 国产精品一二二区| 久久久久亚洲综合| 国产91色综合久久免费分享| 国产亲近乱来精品视频 | 91精品国产一区二区三区香蕉| 亚洲国产人成综合网站| 欧美绝品在线观看成人午夜影视| 亚洲国产成人tv| 欧美美女一区二区三区| 日本免费在线视频不卡一不卡二| 欧美一二三区在线观看| 久久精品国产澳门| 久久久三级国产网站| 成人sese在线| 一区二区三区四区激情 | 欧美日韩在线电影| 午夜电影一区二区三区| 日韩三级视频在线观看| 国产一区二区中文字幕| 国产精品国产a级| 在线一区二区三区| 日韩电影在线一区二区三区| 日韩欧美国产三级| 国产精品白丝av| 亚洲精选免费视频| 91精品在线麻豆| 国产成人欧美日韩在线电影| 亚洲欧美色综合| 制服丝袜国产精品| 国产成人h网站| 亚洲手机成人高清视频| 91 com成人网| 国产不卡视频一区二区三区| 一区二区三区在线高清| 日韩你懂的在线观看| 成人av网站免费| 天天爽夜夜爽夜夜爽精品视频| 欧美xxxx在线观看| 色综合天天综合网天天看片| 日韩av网站免费在线| 欧美激情资源网| 欧美伦理电影网| 国产91精品在线观看| 丝袜亚洲另类丝袜在线| 国产亚洲欧美在线| 欧美丝袜丝交足nylons| 国产精品1区二区.| 久久精品国产99久久6| 国产精品久99| 色综合视频一区二区三区高清| 人人爽香蕉精品| 亚洲欧美一区二区视频| 91精品国产综合久久婷婷香蕉| 国产成人精品aa毛片| 丝袜亚洲精品中文字幕一区| 国产精品欧美经典| 91麻豆精品国产| 成人丝袜18视频在线观看| 免费一级片91| 一区二区久久久| 国产精品免费丝袜| 精品日韩成人av| 欧美日韩日日夜夜|