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)
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) ...
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...
Most Common Coding Mistakes by Beginners
Most Common Coding Mistakes by Beginners Switching Between Multiple Languages No Roadmap Lone Wolf Programming Not Maintaining Notes Tutor...
No comments:
Post a Comment