+ 1

Isn’t string included in ...?

Isn’t string included in iostream? i thought this course said that

10th Jul 2018, 7:45 PM
Ionut Zvd
Ionut Zvd - avatar
4 odpowiedzi
+ 2
No, you need to include the <string> library: https://www.sololearn.com/learn/CPlusPlus/1623/
10th Jul 2018, 8:15 PM
Duncan
Duncan - avatar
+ 2
Whoops, sorry I missed that. Are you getting an error?
11th Jul 2018, 3:54 AM
Duncan
Duncan - avatar
+ 1
bur there is a tip there saying “The <string> library is included in the <iostream> library, so you don't need to include <string> separately, if you already use <iostream>.”
10th Jul 2018, 8:42 PM
Ionut Zvd
Ionut Zvd - avatar
+ 1
no no, it’s working as expected I was just confused
11th Jul 2018, 4:11 AM
Ionut Zvd
Ionut Zvd - avatar