Skip to content

Commit

Permalink
C++ Programlama Dilinde Ekrana Tarih Basma
Browse files Browse the repository at this point in the history
  • Loading branch information
boraikizoglu authored Jan 21, 2017
1 parent 857b7d8 commit af07b97
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions EkranaTarihBas.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include <iostream>
using namespace std;
#include <ctime>

int main () {

time_t now = time(0);
char* dt = ctime(&now);
cout << "Bugunun Tarihi: " << dt;
return 0;

}

1 comment on commit af07b97

@Muradd203
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bu kod bende calismiyo ?cozum bulamadim

Please sign in to comment.