#include<iostream> using namespace std; class counter{ private: int count; public: counter(){//default constructor count=0; ...
FINDING SUBSTRING OF A STRING WITHOUT USING PRE DEFINED STRING FUNCTIONS
Finding Substring #include<iostream> #include<string> ...
APPENDING TWO STRINGS WITHOUT USING PRDEFINED STRING FUNCTIONS
#include<iostream> #include<string> using namespace std; int main(){ string s1,s2; int count=0; cout<<"Manual...
SWAPPING TWO STRINGS WITHOUT USING PREDEFINED STRING FUNCTIONS
#include<iostream> #include<string> using namespace std; int main(){ string s1,s2; int count=0; cout<<"Manual...
Comparing two strings without using predefined string functions while using getline function
#include<iostream> #include<string> using namespace std; int main(){ string s1,s2; int count=0; cout<<"Manua...
HANG MAN GAME IN C++(using strings ,vectors,algorithms)
#include<iostream> #include<vector>//header for vector class #include<string>//header for string class #include<alg...
COMPARISION OF STRINGS WITHOUT PREDEFINED STRING FUNCTION
#include<iostream> #include<string> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { string s1,s2; cout<...
convert string of lower case letters to upper case letters
#include<iostream> #include<string> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { string s1; cout<<...
ALL ABOUT STRING CLASS IN ONE PLACE
String class Example 1 :Initializing string #include <iostream> #include <string> using namespace std; int main(...
Subscribe to:
Posts (Atom)