- #1
yungman
- 5,718
- 241
I am playing with string_view which is C++17, I have VS-2019, it doesn't seem to recognize string_view. I cannot even troubleshoot my program:
Thanks.
C++:
#include <iostream>
#include <string>
#include <string_view>
using namespace std;
int main()
{
string_view text = "Hello";
string_view str(text);
string_view more(str);
cout << text << " " << str << " " << more << "\n\n";
return 0;
}
Last edited by a moderator: