From af07b97b07b8f831534a48e2529776068b5c7f23 Mon Sep 17 00:00:00 2001 From: Bora Ikizoglu Date: Sat, 21 Jan 2017 04:51:54 +0200 Subject: [PATCH] C++ Programlama Dilinde Ekrana Tarih Basma --- EkranaTarihBas.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 EkranaTarihBas.cpp diff --git a/EkranaTarihBas.cpp b/EkranaTarihBas.cpp new file mode 100644 index 00000000..5fc8f81f --- /dev/null +++ b/EkranaTarihBas.cpp @@ -0,0 +1,12 @@ +#include +using namespace std; +#include + +int main () { + + time_t now = time(0); + char* dt = ctime(&now); + cout << "Bugunun Tarihi: " << dt; + return 0; + +}