Pages
Home
Eaglesoft Download
About us
Monday, May 24, 2021
get current date of system in c++ cpp
#include
<iostream>
#include
<ctime>
using
namespace
std
;
int
main
()
{
time_t
now
=
time
(
0
);
cout
<<
"now is :"
<<
now
<<
endl
;
char
*
date_time
=
ctime
(&
now
);
cout
<<
date_time
;
return
0
;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
single link list in cpp | oop in c++ single link list operations in cpp data structure | ds
#include <iostream> #include <string.h> #include <string> using namespace std; class node{ public: int rol...
Take 10 integer inputs from user and store them in an array. Again ask user to give a number. Now, tell user whether that number is present in array or not with Eaglesoft
#include <iostream> using namespace std ; int main () { int _input [ 10 ], c = 0 , n , i = 0 , f = 0 ; // Take...
online Shopping project for university full source code.
https://www.eaglesoft.com.pk/online-shopping-project-for-university-in-c-developed-by-eaglesoft/
No comments:
Post a Comment