Page 1 of 1

missing libraries cstudio, iostream, string etc

Posted: Thu May 24, 2018 1:00 pm
by Deouss
I am using VSCode - not Eclipse and this part of code errors out

#include <cstdio>
#include <string>
#include <sstream>
#include <iostream>

Where and how can I get those stdio libraries ...?

Thank you

Re: missing libraries cstudio, iostream, string etc

Posted: Thu May 24, 2018 4:44 pm
by hak8or
Is your file name ending with a .c extension or .cpp?

Re: missing libraries cstudio, iostream, string etc

Posted: Fri May 25, 2018 12:57 am
by Deouss
main.cpp

Re: missing libraries cstudio, iostream, string etc

Posted: Fri May 25, 2018 3:29 am
by kolban
What do you mean by "errors out"? Isn't VSCode an editor?

Doing a file search, I find these files in the directory called:

xtensa-esp32-elf/include/c++/5.2.0/

Re: missing libraries cstudio, iostream, string etc

Posted: Fri May 25, 2018 3:59 am
by Deouss
Yes maybe my include list is not pointing to this location. I will check that and verify.
Thank you