functions string c++ code example
Example 1: c++ string
#include <string>
std::string myString = "Hello, World!";
Example 2: c++ write string
#include <iostream>
int main() {
std::cout << "Hello" << std::endl; //endl = end line/new line
// or
printf("hello");
}