Simple String Program using C++

I personally don't know how to program this C++ program on how to determine the string of the constant string. This program is quiet simple if you study more about on how to program C++. C++ is an object-oriented programming or know as OOP. So, in this program example I made this to sharpen my programming skills. Hope I can give also to the future idea on how to program that can determine what is the length of the string for most complicated. But we've did this program in our Turbo C Class which the Basic programming Languages. Most of the keywords in Turbo C is also a keywords of C++ programming languages.

I Hope you learn about. Study the program code and try it to enhance your programming skills .


Remember: You must to start to the small one than to larger one.

#include
#include

using namespace std;
int main()
{
string stringA = "C++";
string stringB = "Is Cool";
cout << "Length of stringA = "
<< style="color: rgb(0, 0, 0);">


cout << "Length of stringB = "
<< style="color: rgb(0, 0, 0);">() <


return 0;
}



Share on Google Plus

About Jomar Lipon

Web Developer at your service and frustrated blogger in Cebu. Author of JomarPH.com, SEO Specialist.
    Blogger Comment
    Facebook Comment

0 comments :

Post a Comment

Share
Pin It

Receive all updates from us via Facebook. Just Click the Like Button Below