Just Stringing You Along-2
Just Stringing You Along-2
you along…
Without knowing it, you’ve been
using objects in your previous C++
class
General syntax:
stringVarName.stringFunctionName()
Example:
myString.length()
String functions (length)
myString.length() 🡪 Returns the length of the string in myString
cout << firstName << “ has an email address with an extension of “ << extension;