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

正文內(nèi)容

[工學(xué)]c程序設(shè)計設(shè)計性實驗報告(參考版)

2025-04-14 22:23本頁面
  

【正文】 文檔在線網(wǎng)會對會員提供的文檔資料進行篩選和編輯,但是并不聲明或保證其內(nèi)容的合法性和正確性。return p。}p[i]=39。}while(!EmptyStack(s)){ p[i]=Pop(s)。Push(s,k)。n=(int)num。Initiatestack(s)。 int i=0,k。}ClearStack(S)。else {cout expersion is error。}x=Pop(S)。}if(EmptyStack(S)){cout Stack is empty\n。 } x+=y。 i++。amp。 double j=。) { i++。 } if(str[i]==39。str[i]=57) { x=x*10+str[i]48。 while(str[i]=48amp。 break。 return sqrt(2)。 if(x!=||x!=0) x=Pop(S)/x。/39。 break。:x=Pop(S)*Pop(S)。case39。 i++。:x=Pop(S)。case39。 i++。+39。continue。 39。int i=0。Initiatestack(S)。return 1。}}str2[j++]=39。}else { str2[j++]=ch。) {coutthe expersion is error\n。){ if(ch==39。while(ch!=39。 39。ch=str1[++i]。.39。939。amp。039。return 0。.39。amp。939。039。ch=str1[++i]。w=Peek2(R)。while(Precedence(w)=Precedence(ch)){str2[j++]=w。/39。*39。39。+39。ch=str1[++i]。)str2[j++]=Pop2(R)。){ while(Peek2(R)!=39。}else if(ch==39。){Push2(R,ch)。else if(ch==39。 39。\039。char ch=str1[i]。)。Push2(R,39。}}///////將中綴表達式轉(zhuǎn)換為后綴表達式,中綴在str1中,后綴在str2中_declspec(dllexport) int change(char* str1,char*str2){ Stack2 R。39。(39。:return 2。:case39。case39。39。+39。=0。=0。}/////////////////////////////////////////////_declspec(dllexport)void ClearStack2(Stack2 amp。}_declspec(dllexport)bool EmptyStack2(Stack2 amp。exit(1)。}_declspec(dllexport)ElemType2 Peek2(Stack2 amp。}。 S){ if(==1){cout Stack is full\n。[]=item。=2*。 S,ElemType2 item){ if(==){ int k=sizeof(ElemType2)。}=1。if(!){coutthe mem is not enough\n。S){ =50。}。int top。=0。=0。}/////////////////////////////////////////////_declspec(dllexport)void ClearStack(Stack amp。}/////////////////////////////////////////////_declspec(dllexport)bool EmptyStack(Stack amp。exit(1)。}////////////////////////////////////////////_declspec(dllexport)ElemType Peek(Stack amp。}。 S){ if(==1){cout Stack is full\n。[]=item。=2*。 S,ElemType item){ if(==){ int k=sizeof(ElemType)。}=1。if(!){coutthe mem is not enough\n。S){ =50。}。int top。typedef char ElemType2。}void CCalcDlg::Onexit() { // TODO: Add your control notification handler code here exit(1)。 MessageBox(str1,關(guān)于計算器主題)。 char s[]= \n1. 作 者 : 馮 凱\n\n2. 學(xué) 號: 200612010115.\n\n3. 所 在 單 位:理學(xué)院數(shù)學(xué)061.\n\n4. 完 成 日 期: 2008年11月25日. \n\n5. 版 本 信 息: 版.\n\n6. 功 能 簡 介:\n\n可以處理 + * / 的表達式運算如 \)*(+)/5\\n\n可以進行數(shù)的進制轉(zhuǎn)換操作.\n\n可以進行 開方,平方,取對數(shù)等運算.\n\n可進行三角函數(shù)運算. \n\n\n\n\n\n\n\n。 UpdateData(false)。 (%s,s)。}void CCalcDlg::OnOP() { // TODO: Add your control notification handler code here CString str1。} m_edit1=(CString)buffer1。) buffer1[i]=39。buffer1[i+1]==39。amp。i++) { if(buffer1[i]==39。buffer1[i]!=39。 _gcvt(y,6,buffer1)。s1)。 } OnDENG()。 m_edit1=_T( )。) { ( 抱歉不能處理這類表達式!\n 請輸入試試)。i++) if(s[0]==39。s[i]!=39。\039。 strncpy(s,(LPCTSTR)str1,sizeof(s))。 goto label。 MessageBox(str2,馮凱溫馨提示)。 str3=str1。 str1=m_edit1。CString str1,str2,str3。label: UpdateData(false)。\039。\039。amp。.39。\039。 for(i=0。 y=cos(x)。 //調(diào)用等號子過程 x=strtod(m_edit1,amp。 goto label。 MessageBox(str2,馮凱溫馨提示)。.39。\039。 for(i=0。 s[()1]=39。 }char s[100]。 m_edit1=_T( )。 if((1)==B||(1)==o||(1)==H||(1)==B||(1)==o||(1)==H) { ( \n! 計 算 格 式 錯 誤 \n請 重 新 輸 入)。 str2=str1。int i=0。}void CCalcDlg::OnCOS() { // TODO: Add your control notification handler code here char *s1,buffer1[20]。 m_edit1+=H。 m_edit1+=(CString)buffer1。.39。j35。i++) { _gcvt(p[i],32,buffer1)。p[i]!=39。 p=tranfrom(x2,16)。 if(x10) x2=x1。 x1=strtod(str1,amp。 goto label。 MessageBox(str2,馮凱溫馨提示)。/39。*39。39。+39。amp。/39。*39。39。+39。\039。 } } for(i=0。 m_edit1=_T( )。) {( 抱歉不能處理這類表達式!\n 請輸入一個不帶任何符號的整數(shù)試試)。||s[i]==39。 } else if(s[i]==39。 m_edit1=_T( )。) { ( 抱歉不能處理帶小數(shù)點的數(shù)!\n 請輸入一個整數(shù)試試)。i++) { if(s[i]==39。s[i]!=39。\039。 strncpy(s,(LPCTSTR)str1,sizeof(s))。 goto label。 MessageBox(str2,馮凱溫馨提示)。 str3=str1。 str1=m_edit1。CString str1,str2,str3。}void CCalcDlg::Onshi_liu_jin_zhi() { // TODO: Add your control notification handler code heredouble x1,x2,*p。 m_edit1+=o。 m_edit1+=(CString)buffer1。.39。j35。i++) { _gcvt(p[i],32,buffer1)。p[i]!=39。 p=tranfrom(x2,8)。 if(x10) x2=x1。 x1=strtod(str1,amp。 goto label。 MessageBox(str2,馮凱溫馨提示)。/39。*39。39。+39。amp。/39。*39。39。+39。\039。 } } for(i=0。 m_edit1=_T( )。) {( 抱歉不能處理這類表達式!\n 請輸入一個不帶任何符號的整數(shù)試試)。||s[i]==39。 } else if(s[i]==39。 m_edit1=_T( )。) { ( 抱歉不能處理帶小數(shù)點的數(shù)!\n 請輸入一個整數(shù)試試)。i++) { if(s[i]==39。s[i]!=39。\039。 strncpy(s,(LPCTSTR)str1,sizeof(s))。 goto label。 MessageBox(str2,馮凱溫馨提示)。 str3=str1。 str1=m_edit1。CString str1,str2,str3。}void CCalcDlg::Onba_jin_zhi() { // TODO: Add your control notification handler code here double x1,x2,*p。 m_edit1+=B。 m_edit1+=(CString)buffer1。.39。j35。i++) { _gcvt(p[i],32,buffer1)。p[i]!=39。 p=tranfrom(x2,2)。 if(x10) x2=x1。 x1=strtod(str1,amp。 goto label。 MessageBox(str2,馮凱溫馨提示)。/39。*39。39。+39。amp。/39。*39。39。+39。\039。 } } for(i=0。 m_edit1=_T( )。) {( 抱歉不能處理這類表達式!\n 請輸入一個不帶任何符號的整數(shù)試試)。||s[i]==39。 } else if(s[i]==39。 m_edit1=_T( )。) { ( 抱歉不能處理帶小數(shù)點的數(shù)!\n 請輸入一個整數(shù)試試)。i++) { if(s[i]==39。s[i]!=39。\039。 strncpy(s,(LPCTSTR)str1,sizeof(s))。 goto label。 MessageBox(str2,馮凱溫馨提示)。 str3=str1。 str1=m_edit1。CString str1,str2,str3。}void CCalcDlg::OnChangeEdit1() { // TODO: If this is a RICHEDIT control, the control will not // send this notification unless you override the CDialog::OnInitDialog() // function and call CRichEditCtrl().SetEventMask() // with the ENM_CHANGE flag ORed into the mask. // TODO: Add
點擊復(fù)制文檔內(nèi)容
法律信息相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1