#include <string>
using namespace std;
This is because strings:
- A class in C++
- Part of the standard library
#include <iostream>
#include <string>
using namespace std;
int main (){
string greeting = "Hello";
cout << greeting << "\n";
return 0;
}
Leave a Reply