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

正文內(nèi)容

王爽語言課程設(shè)計一代碼-文庫吧在線文庫

2024-11-09 22:32上一頁面

下一頁面
  

【正文】 d,n)。case 5:Require(head)。} }第三篇:C語言課程設(shè)計《高速公路聯(lián)網(wǎng)收費系統(tǒng)》代碼作者:吳俠志就讀院校:東莞理工學(xué)院include “” define NUM 4 define max_len 8 include include include include include include char *mytime(struct tm *timeptr)。char *kind[6]={“特殊車”,“一類車”,“二類車”,“三類車”,“四類車”,“五類車”}。double money。FILE *fp。printf(“┃┃n”)。enter)==0 || enter!=39。fp=fopen(“”,“a+”)。if(pass==0){} fp=fopen(“”,“w+”)。time_t timer。printf(“┏━━━━━━━━━━━━━━━━━━━━━┓n”)。while(1){while(scanf(“%d%c”,amp。num)。iif(cars[i].is_in==39。} } k=0。 cars[m].station_out==startkey){k++。amp。continue。srand((unsigned)time(NULL))。amp。strcpy(cars[m].time_out,“無”)。}fclose(fp)。printf(“┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛n”)。fflush(stdin)。fprintf(fp,“%30s%8d%12s%20snn”,mytime(tblock),m,kind[cars[m].car_type],“發(fā)卡,放行”)。}fclose(fp)。while(scanf(“%d%c”,amp。num)。}else if(choice==0){ch=39。amp。}}if(ch==39。if(cars[choice].car_type==0){printf(“該車于%s在%s進入高速,為特殊車,無需收費n”,cars[choice].time_in,address[cars[choice].station_in])。n39。continue。元,請付fp=fopen(“”,“a+”)。cars[choice].station_out=startkey。fp=fopen(“”,“w+”)。}else if(key==4){while(1){system(“cls”)。n39。}else if(i==max_len){continue。fclose(fp)。 || ch==39。){break。else if(ch==39。N39。fp=fopen(“”,“w+”)。for(i=1。} char *mytime(struct tm *timeptr)//獲取系統(tǒng)時間的函數(shù) { char wday_name[7][4]={“Sun”,“Mon”,“Tue”,“Wed”,“Thu”,“Fri”,“Sat”}。for(i=1。cars[i].is_in=39。i{fscanf(fp,“%d %d %c %lf %d %d %st%stn”,amp。int i,j,key,num,k。printf(“┃┃n”)。while(1){ fflush(stdin)。switch(key){case 1:{printf(“t里程價n”)。printf(“一類車:小轎車、吉普車、的士頭人貨車、摩托車n”)。break。fflush(stdin)。else{printf(“terror!!input again:”)。){printf(“terror!!input again:”)。getche()。rewind(fp)。 cars[i].station_out==0)j++。printf(”在行車輛:共%“,j)。putch(ch)。} case 6: {} case 0: rewind(fp)。amp。continue。fp=fopen(filename(startkey),“a+”)。fflush(stdin)。第四篇:C++語言課程設(shè)計一迷你高爾夫C++語言課程設(shè)計一迷你高爾夫一、實驗內(nèi)容玩家通過按下鍵盤上的上下左右方向鍵控制球的移動,使其最終到達出口則游戲通關(guān)。【實驗指導(dǎo)】打開FunCode,點擊“項目”菜單,選擇“創(chuàng)建C++工程”注意:工程名名稱要求字母開頭,只能包含字母和數(shù)字,且名字中間不能有空格。每次把代表該關(guān)卡的二維數(shù)組的數(shù)據(jù)拷貝到存儲當(dāng)前關(guān)卡m_iGridData的二維數(shù)組中。//當(dāng)前關(guān)卡intm_iMoveState。//出口精靈向量數(shù)組intm_iControlStartX。m_iControlStartX=0。二維數(shù)組中0表示該位置不創(chuàng)建精靈,否則根據(jù)不同的值創(chuàng)建不同精靈,RIGID_BLOCK(值為1)表示創(chuàng)建一個方塊精靈,BLACK_HOLE(值為2)表示創(chuàng)建一個黑洞精靈,GOLF_EXIT(值為3)表示創(chuàng)建一個出口精靈。iLoop++){m_vRigidBlock[iLoop]DeleteSprite()。()、()、()表示每種精靈的總數(shù)。m_iGolfExitCount=0。memcpy(m_iGridData,m_iLevelData3,sizeof(int)*GRID_COUNT*GRID_COUNT)。因為二維數(shù)組在內(nèi)存中的存放方式是連續(xù)的,因此我們將源地址拷貝給m_iGridData的起始地址之后,系統(tǒng)后自動根據(jù)m_iGridData的下標(biāo)來找到正確的值。m_pGolfArrow=newCSprite(“GolfArrow“)。然后在函數(shù)內(nèi)部添加代碼創(chuàng)建精靈。char*szName=NULL。tmpSprite=newCSprite(szName)。MoveSpriteToBlock(tmpSprite,iLoopX,iLoopY)。m_iRigidBlockCount++。iLoopXGRID_COUNT。最后每創(chuàng)建一個實現(xiàn)精靈,將它添加到相應(yīng)的精靈向量數(shù)組中。再通過SetSpritePosition函數(shù)設(shè)置精靈位置,在該函數(shù)里面添加如下代碼:floatfPosX=m_fGridStartX+iIndexX*m_fGridSize。每創(chuàng)建一種精靈,將其總數(shù)加1:m_iRigidBlockCount,m_iBlackHoleCount,m_iGolfExitCount。memcpy(m_iGridData,m_iLevelData1,sizeof(int)*GRID_COUNT*GRID_COUNT)。memcpy(m_iGridData,m_iLevelData2,sizeof(int)*GRID_COUNT*GRID_COUNT)。1):voidInitLevel()。}for(iLoop=0。2):voidCGameMain::ClearAllSprite(){}3)再使用3個循環(huán),分別將上一關(guān)卡創(chuàng)建的3種精靈刪除掉。constfloatCGameMain::m_fGridSize=。2)在構(gòu)造函數(shù)中添加下面代碼:m_iRigidBlockCount=0。staticconstintm_iLevelData3[GRID_COUNT][GRID_COUNT]。//每塊的大小,包括球、出口等都是此大小intm_iRigidBlockCount。添加到“場景”中的精靈,都已經(jīng)取好名稱,并根據(jù)程序要求設(shè)置好中心點、鏈接點等,學(xué)生只需要直接編程就可以。球靜止?fàn)顟B(tài)下會有箭頭指示球可以運動的方向,運動狀態(tài)下則箭頭消失。break。ch=fgetc(fp)。fflush(stdin)。putch(ch)。amp。getche()。rewind(fp)。}timer=time(NULL)。k=0。fscanf(fp,”%d“,amp。continue。while(1){ while(scanf(“%d%c”,amp。n39。printf(“┃┃n”)。printf(“五類車: 重型貨車、重型拖(掛)車、40英尺集裝箱車n”)。fflush(stdin)。n39。printf(“┃┃n”)。while(1){system(“cls”)。cars[i].money,amp。cars[i].station_out=j。if(num==0){for(j=1。} char *filename(int startkey){ static char name[22]。fprintf(fp,“%dn”,num)。fclose(fp)。j{fp=fopen(filename(j),“w+”)。)break。y39。}else if(ch==39。while(1){fflush(stdin)。39。){if(i0){pwd[i]=39。ch=getch()。printf(“請收卡放行,并按任意鍵回到主菜單a”)。if(cars[choice].car_type==0)fprintf(fp,“%30s%8d%12s%20snn”,mytime(tblock),choice,kind[cars[choice].car_type],“收卡,放行”)。cars[choice].money=0。tblock=localtime(amp。money=0。fflush(stdin)。fp=fopen(“”,“w+”)。 choice{printf(“該卡號車于%s從本站進入高速,尚在行...ntinput again:”,cars[choice].time_in)。amp。initialize(cars,num,fp)。){printf(“terror!!input again:”)。printf(“請輸入卡號(按0返回):”)。fclose(fp)。}}cars[m].is_in=39。size,amp。printf(“┃:面包車、小型人貨車、輕型貨車、小型客車┃n”)。fclose(fp)。}}printf(“卡號是:%dn現(xiàn)在時間是:%sn”,m,mytime(tblock))。n39。} } if(key==1){ system(“cls”)。} else if(key==1 amp。 k0)||(key==2 amp。 amp。 cars[i].station_in!=startkey amp。initialize(cars,num,fp)。){printf(“terror!!input again:”)。printf(“┃┃n”)。timer)。rewind(fp)。fp=fopen(“”,“a+”)。}if(startkey==1 || startkey==2 || startkey==3 || startkey==4 || startkey==5 || startkey==6 || startkey==7 || startkey==8 || startkey==9){break。int startkey。fclose(fp)。int pass=0。char time_in[26]。///初始化函數(shù) int refer(struct car *cars,int startkey)。default: break。case 3:Delete(head,n)。puts(“* Records *”)。printf(“Have delete cID:%dn”,cID)。cID)。*n=*n+1。scanf(“%d”,amp。scanf(“%d”,amp。} printf(“The sum of credit in this term is:%.1fn”,sum)。scanf(“%d”,amp。insert(head,p)。psemester)。scanf(“%d”,amp。amp。}void Modify(struct course **head,int *n){ struct course *p,*p2。p=*head。p0next=p1。(p1next)amp。amp。void Fun(struct course **head,int *n)。void main(){ int n=0。余數(shù)cx。dtoc。return B Segment save num cxnum Length。inc si ?mov ds:[si],dxmov si,0call dtocadd di,120。pointer to data srcpush dxpush sipush dimov ax,bmov ds,axmov si,0add di,80call show_strpop dipop sipop dspop axjmp mcon。 ,39。,39。 db 39。,39。,39。197639。198039。198439。198839。199239。84H0a7h dd 16,22,382,1356,2390,8000,16000,24486,50065,97479,140417,197514 dd 345980,590827,803
點擊復(fù)制文檔內(nèi)容
醫(yī)療健康相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1