missing libraries cstudio, iostream, string etc

Deouss
Posts: 425
Joined: Tue Mar 20, 2018 11:36 am

missing libraries cstudio, iostream, string etc

Postby Deouss » Thu May 24, 2018 1:00 pm

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

hak8or
Posts: 10
Joined: Wed May 23, 2018 9:55 pm

Re: missing libraries cstudio, iostream, string etc

Postby hak8or » Thu May 24, 2018 4:44 pm

Is your file name ending with a .c extension or .cpp?

Deouss
Posts: 425
Joined: Tue Mar 20, 2018 11:36 am

Re: missing libraries cstudio, iostream, string etc

Postby Deouss » Fri May 25, 2018 12:57 am

main.cpp

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: missing libraries cstudio, iostream, string etc

Postby kolban » Fri May 25, 2018 3:29 am

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/
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Deouss
Posts: 425
Joined: Tue Mar 20, 2018 11:36 am

Re: missing libraries cstudio, iostream, string etc

Postby Deouss » Fri May 25, 2018 3:59 am

Yes maybe my include list is not pointing to this location. I will check that and verify.
Thank you

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 69 guests