C++ Program to Demonstrate the use of String Class

This C++ Program which demonstrates the use of string class. The program uses a special header for using string class. A ‘string’ object is created, the name of the user is taken as input to save it into the string object, the length of string object is printed and also the string object is printed … Read more

advertisement

C++ Program to Remove Specific Character from the String

This C++ Program which removes a given character from the string. The program takes a string and the character to be removed as the input, uses standard library remove( ) algorithm for returning a range of elements with all the elements equal to the character removed which when passed to the standard library algorithm erase( … Read more

advertisement

C++ Program to Check if a String is Palindrome

This is a C++ Program to Find if a String is Palindrome. Problem Description The program checks if a string is a palindrome or not. A palindrome is a word or a string that reads the same backward and forward. Problem Solution 1. The program takes a string and stores it. 2. The string is … Read more

advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.