freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

c課程設(shè)計(jì)logic_circuit報(bào)告(編輯修改稿)

2025-09-10 21:18 本頁(yè)面
 

【文章內(nèi)容簡(jiǎn)介】 turn output。}}。四、流程圖STARTcoutplease input the gates number of the first layer(4/2):。cinnum1。int x1[4],x2[4]。 Nwhile((num1!=2)amp。amp。(num1!=4))。 Yi=0。inum1?cinx1[i]。coutplease input the first layer39。s 1st data(0/1):。 N Ywhile(x1[i]!=0amp。amp。x1[i]!=1)。Next PagePre Pagecinx2[i]。coutplease input the first layer39。s 2nd data(0/1):。int choice[4],x3[4]。 Ywhile(x2[i]!=0amp。amp。x2[i]!=1)。i=0。inum1? Ni++。 Ywhile(choice[i]!=1 to 6)。call gate()。 YcoutChoose the type of the first layer39。s (i+1) gate(1/2/3/4/5/6):。cinchoice[i]。 Ni++。int x4[2]。switch(choice[i])if(num1==4)num2=2。 x4[0]=x3[1]。 x4[1]=x3[3]。 x3[1]=x3[2]。i=0。if(num1==2)num2=1。 x4[0]=x3[1]。int x5[2]。cout\n。call gate()。inum2? YcoutChoose the type of the second layer39。s (i+1) gate(1/2/3/4/5/6):。 N YNext Pageswitch(choice[i])cinchoice[i]。Pre Pagei++。while(choice[i]!=1 to 6)。 N Yint choice3。call gate()。coutChoose the type of the third layer39。s (i+1) gate(1/2/3/4/5/6):。if(num2==2) Yelsecinchoice3。 Ywhile(choice3!=1 to 6)。 Nswitch(choice3)cout\t\tJust do the NOT gateendl。NOT not(x5[0])。output=calculate(not)。coutThe logic circuit39。s output is:outputendl。coutDo you want do again?endl。coutIf you input y or Y means do againendl。coutIf you input n or N means exit exeendl。Next PagePre Pagewhile((answer=getch())==39。y39。||(answer=getch())==39。Y39。)。 YEND第五章、功能測(cè)試一、二門運(yùn)算:運(yùn)行程序,按與門輸入方式運(yùn)行 運(yùn)行程序,按與非門和非門輸入方式運(yùn)行 運(yùn)行程序,按或門輸入方式運(yùn)行運(yùn)行程序,按或非門輸入方式運(yùn)行運(yùn)行程序,按異或門輸入方式運(yùn)行 運(yùn)行程序,按同或門輸入方式運(yùn)行 二、四門運(yùn)算:運(yùn)行程序,四門運(yùn)算第一層分別運(yùn)算與門,與非門,或門,或非門。第二層運(yùn)算異或門,同或門。第三層運(yùn)算與門。小結(jié)本次C++課程設(shè)計(jì),收獲還是很多的,從剛剛拿到課程設(shè)計(jì)題目后,我就先分析這個(gè)程序的一些基本的功能,從這些基本功能出發(fā)來定下一個(gè)程序的大致框架結(jié)構(gòu),這里面主要包括程序中所設(shè)計(jì)的類,類與類之間的繼承關(guān)系以及一些主要的函數(shù)的設(shè)計(jì)思想。這次的課程設(shè)計(jì),是自己獨(dú)立完成了一個(gè)相對(duì)比較大的程序,報(bào)告我們分工撰寫的。通過一番實(shí)踐,很好的總結(jié)、強(qiáng)化了之前學(xué)習(xí)過的知識(shí)要點(diǎn),并且也發(fā)現(xiàn)了自
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1