0

Iostremam and string

why I need include string library If I already heave iostremam included?

21st Oct 2016, 9:44 PM
Adam Wójciński
Adam Wójciński - avatar
1 Resposta
+ 2
Depending on which functions you are trying to use, you need to include different libraries. For example, if you wanted to use the function: strlen(), you would need to include <string> or <cstring>. Same for time functions: <ctime> <time.h>
21st Oct 2016, 10:07 PM
Zeke Williams
Zeke Williams - avatar