wd備審資料排版.jpg
**懶豬Irisi的很懶教學提示~ 但上課的同協們你們知道,它是精華...真的~~

Iris 發表在 痞客邦 留言(0) 人氣()

線上測驗

Iris 發表在 痞客邦 留言(0) 人氣()

//感謝李奕快速支援^^ 想要什麼,許個願就有~oh ya 
#include<iostream>
#include<fstream> //opening file,you should include this!!
#include<string> //for name
#include<iomanip> //for setw and left want more? try cplusplus.com
using namespace std;
int main()
{
ifstream fin("input.txt"); //ifstream is a type for input file, fin is a name like cin
ofstream fout("output.txt");
string name;
int score[5];
fout<<"姓名 國文 數學 社會 自然 英文" <<endl;
while(!fin.eof()) //eof: end of file, the most important function when reading files
{
fin>>name; //use fin like use cin
for(int i=0;i<5;i++)
{
fin>>score[i];
}
fout<<setw(10)<<left<<name; //setw: set width, you can control the space without fout<<" ";
for(int i=0;i<5;i++)
{
fout<<setw(5)<<left<<score[i];
}
fout<<endl; //==fout<<"\n";
}
//system("PAUSE");
}

Iris 發表在 痞客邦 留言(0) 人氣()

讀一個檔inf.txt將內文中的數字全部相加起來然後再將結果輸出至outf.txt
#include<iostream>
#include<fstream>
using namespace std;

Iris 發表在 痞客邦 留言(0) 人氣()

Ch1導論
計算機的發展史-Iris
電腦的基本原理

Iris 發表在 痞客邦 留言(0) 人氣()

 
1.請寫一程式,讀入user由鍵盤輸入的一行文字,將這一行文字中的數字相加後輸出.
輸入:adkl2eongoelnb34djlqpi52djpot224dk;a56aljs90jd;ajf;7djljsoeuor88ewpori

Iris 發表在 痞客邦 留言(0) 人氣()

計算階乘!
#include<iostream.h>
int level(int n);
int main()
{
    int a;
    cout<<"請輸入要求的階乘數:";
    cin>>a;
    cout<<"其階乘數為:"<<level(a)<<endl;  /*傳值呼叫
    system("PAUSE");
   
}

Iris 發表在 痞客邦 留言(0) 人氣()

結構
程式碼:
 #include<iostream.h>

Iris 發表在 痞客邦 留言(0) 人氣()

程式碼:
 
#include<iostream.h>

Iris 發表在 痞客邦 留言(0) 人氣()

Scratch可以免費下載,同學們也可以在家中下載及安裝後,完成老師指定的作業. Scratch的檔案副檔名為sb,如果想和朋友分享你的作品,而他沒有安裝Scratch軟體.這個檔案是打不開的~ 在分享前我們可先使用「ChirpCompiler」軟體,將sb檔轉換為可執行檔(exe),再將轉換後的執行檔分享給朋友。

Iris 發表在 痞客邦 留言(1) 人氣()

bg0.jpg
如何利用PhotoImpact 去背
首先先開啟圖檔~
然後選取功能表的網路>>影像最佳化程式 

Iris 發表在 痞客邦 留言(0) 人氣()

mouse造型.jpg
首先要準備~
1.背景
2.槌子的圖*2(要有二個造型"槌子""槌子打下")
3.地鼠的圖*3(三個造型~"地鼠""被打到的地鼠""溜掉的地鼠")

Iris 發表在 痞客邦 留言(0) 人氣()

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。