// C2_5.cpp : Defines the entry point for the console application. // 輸出練習 #include "stdafx.h" #include #include using namespace std; int main(int argc, char* argv[]) { int g1 = 6677, g2 = 3456; cout << endl; //換行 cout << g1 << g2; //輸出二數值 cout << endl; //換行 cout << "12345678901234567890123456789012345678901234567890\n"; cout << "\tOutput Tab\n"; // \t cout << "\t\tOutput Tab\n"; // \t\t cout << "\t\t\tOutput Tab\n"; // \t\t\t cout << "\t\t\t\tOutput Tab\n"; // \t\t\t\t cout << endl; return 0; //跳出程式 }