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)
What is RAM and ROM
What is RAM and ROM RAM RAM stands for Random Access Memory . RAM holds the data only temporarily. The information can be read...
Find IP address of any website by using python with Eaglesoft
import socket as s my_hostname=s.gethostname() print ( "Your host name is:" + my_hostname) my_ip=s.gethostbyname(my_hostname) ...
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...
No comments:
Post a Comment