今年第一次解成就解到廢寢忘食!
這次的遊戲性與本傳相比各有高低。
猛將傳除了追加許多遊戲動作外也增添了新的遊戲模式。
以太守與副將搭檔的英傑傳(Legend Mode)!
特殊玩法&線上排行榜的挑戰模式 (Challenge Mode)!
延續本傳的全武將故事模式(Mix Joy)!
#include<iostream>
#include<fstream>
int main(){
using namespace std;
char automobile[50];
int year;
double a_price,d_price;
ofstream outFile; // 產生輸出物件,簡單來說就是 cout 區段的複製。(將 cout 取代為 outFile )
outFile.open("carinfo.txt"); // open() 函數與檔案建立關聯。
cout << "Enter the make and model of automobile: ";
cin.getline(automobile, 50);
cout << "Enter the model year: ";
cin >> year;
cout << "Enter the original asking price: ";
cin >> a_price;
d_price = 0.913* a_price;
//
cout.precision(2);
cout.setf(ios_base::showpoint);
cout << fixed; // 說明請見連結 http://it-easy.tw/cout-float/
cout << "Make and model: "<< automobile << endl;
cout << "Was asking $" << a_price << endl;
cout << "Now asking $" << d_price << endl;
//
outFile << fixed;
outFile.precision(2);
outFile.setf(ios_base::showpoint);
outFile << "Make and model: " << automobile << endl;
outFile << "Year: " << year << endl;
cout << "Was asking $" << a_price << endl;
cout << "Now asking $" << d_price << endl;
outFile.close(); // 程式完成檔案的使用後,關閉連結。
system("pause");
return 0;
}
CV 原田 瞳 (原田ひとみ) 隱藏的胸部
人家是正妹配音員還有一對好胸部!!!! (毆
同時也是個淑女......
原田的 twitter : http://twitter.com/#!/vhitomin
#include<iostream>
int main(){
using namespace std;
const int Cities = 5;
const int Years = 4;
const char * cities[Cities] =
{
"Gribble City",
"Gribbletown",
"New Gribble",
"San Gribble",
"Gribble Vista"
};
int maxtemps[Years][Cities] =
{
{95,99,86,100,104},
{95,97,90,106,102},
{96,100,940,107,105},
{97,102,89,108,104}
};
cout << "Maximum temperatures for 2002-2005\n\n";
for(int city =0;city<Cities;++city)
{
cout << cities[city] << ":\t";
for(int year=0;year<Years;++year)
{
cout << maxtemps[year][city] << "\t";
}
cout << endl;
}
system("pause");
return 0;
}