Problem | helloworld |
---|---|
User | Ok |
Submission Time | 2023-06-08 17:51:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
helloworld.cpp: In function ‘int main()’:
helloworld.cpp:3:7: error: ‘string’ is not a member of ‘std’
3 | std::string Hello = "Hello";
| ^~~~~~
helloworld.cpp:2:1: note: ‘std::string’ is defined in header ‘<string>’; did you forget to ‘#include <string>’?
1 | #include <cstdio> and <string>
+++ |+#include <string>
2 | int main(){
helloworld.cpp:4:7: error: ‘string’ is not a member of ‘std’
4 | std::string World = "World";
| ^~~~~~
helloworld.cpp:4:7: note: ‘std::string’ is defined in header ‘<string>’; did you forget to ‘#include <string>’?
helloworld.cpp:5:7: error: ‘string’ is not a member of ‘std’
5 | std::string space = " ";
| ^~~~~~
helloworld.cpp:5:7: note: ‘std::string’ is defined in header ‘<string>’; did you forget to ‘#include <string>’?
helloworld.cpp:6:7: error: ‘string’ is not a member of ‘std’
6 | std::s