#include<iostream>
using namespace std;
int main()
{
int a=3,b=7,c,d,e,f,g;
c=b/a; //除法運算
- Dec 31 Fri 2010 22:41
C++基本變數及型態-2.基本語法運算(較特別的)
- Dec 31 Fri 2010 21:25
C++基本變數及型態-1.浮點數運算
#include<iostream>
using namespace std;
int main()
{
int a=7; //宣告變數後面可以直接寫入變數值或運算式
float b=7.39; //float可宣告變數為浮點數
- Dec 31 Fri 2010 19:56
C++基本語法-2.整數運算
#include<iostream>
using namespace std; //宣告iostream標頭檔,所要使用的語法集,跟語法宣告一樣,只是比較省事
int main()
{
int a;
int b;
- Dec 31 Fri 2010 18:55
C++基本語法-1.基本程式語法及顯示語法
//------------------- ("//"為註解符號)
#include<iostream>//標頭檔宣告
using std::cout;
using std::endl;
//-------------------
//上面屬於前處理指令宣告及語法宣告
- Dec 31 Fri 2010 18:47
DEV-C++開發程式介紹
http://teachers.ksu.edu.tw/rscheng/course/ds/SF/devcpp-4.9.9.2_setup.exe
DEV C++,這是一套免費的程式設計軟體,適合初學者使用。
主視窗
建新檔
- Dec 30 Thu 2010 20:32
回憶當初<<SD鋼彈online>>
- Dec 29 Wed 2010 23:34
<<SD鋼彈online>>陸戰吉姆光速型