Pages
Home
Eaglesoft Download
About us
Monday, January 25, 2021
find lenght of string in cpp c++ with eaglesoft programmers
#include
<iostream>
#include
<string.h>
using
namespace
std
;
int
main
()
{
char
name
[
50
];
cout
<<
"enter your name"
<<
endl
;
gets
(
name
);
int
n
=
strlen
(
name
);
cout
<<
"Lenght of this string is :"
<<
n
<<
endl
;
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