السلام عليكم ورحمة الله وبركاته
انا عضو جديد في المنتدى وانشاء الله اني استفيد وتستفيدون مني
ولكني انا مبتدئه في البرمجه(لغةc++) و الله يعافيكم ابي مساعدتكم يا اصحاب الخبرات
وندخل في صلب الموضوع: ابي طريقة كل فقره مع الشرح لاهنتوا

والسؤال هو :
Write a C++ program that do the following
Define str1 from type string and assign the following to it "The string class gives ".
Define str2 from type string and assign the following to it "C++ high-
powered string handling."
Define str3 and assign the value of str2 to it, then print str1, str2 and
str3.
Concatenate tow strings (str1 and str2) then put the value in str3, and print str3.
Print suitable message if str3 is longer than str1.
Create a string object (str4) using another string object (str1), then
print str4.
Insert str2 in the index 4of str1, and then print str1.
Remove 33 characters from str1, beginning at index 4 then print str1.
Replace 6 characters in str1 with str2, beginning from the index 11
then print str1.
Search for "class" in str4, if you found it print the index and assign the remaining string of str4 to str2 then print str2.
ويعطيكم الف عافيه

,,,