K
K
Kranj12020-12-14 16:17:50
Visual Studio Code
Kranj1, 2020-12-14 16:17:50

The VS code app does not see the ofstream class from the fstream library. What to do?

I connect as usual #include <fstream>. Then I try to create an object of the ofstream class, but Vs code does not see this class. I googled and didn't find similar problems. Installed the extension for c++, created new projects several times. Does not help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
Wataru, 2020-12-14
@Kranj1

Point to the sky... But do you access std::ofstreamor use using namespace std;?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question