hi.i have a big problem .i just learn about classes and i don't know too much.now i have to do a problem using classes but for strings.i have to do one class string and do :
-create a string
-display the lenght of string
-comparison lexicographics of 2 strings
-concatenation of 2 strings
-determine first occurrence of a substring in a string
-determinate the number of occurrance of a substring in a string
-determining the longest subsequence of a string lexicographically ordered
-display the string
any oppinion is good.tnks :)

What do you need help with exactly? Start by creating a class which has a char* as a member variable. And get it to allocate when calling the constructor. Then go on from there.