checkdate2.cpp

来自「this an OOP file which is very easy to u」· C++ 代码 · 共 32 行

CPP
32
字号
// CheckDate2.cpp// uses Date2 and DayOfWeek classes#include <iostream>    // Library file, so uses <>using namespace std ;#include "Date2.hpp"   // User-defined, so uses ""#include "DayOfWeek.hpp"intmain(){  Date2 today( 13 , 2 , 2006 ) ;  DayOfWeek dayofweek( 1 ) ;  // Today  cout << "today is " ;  dayofweek.print( Lang( "en" ) ) ;  cout << " " ;  today.print( Lang ( "en" ) ) ;  cout << endl ;  // jintian shi  cout << "jintian shi " ;  today.print( Lang ( "zh" ) ) ;  cout << " " ;  dayofweek.print( Lang ( "zh" ) ) ;  cout << endl ;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?