Mustafa Mohsin
Mustafa Mohsin

Reputation: 11

how to replace SOLUTION_DIR

I am trying to run a C++ demo code in Visual Studio Code on windows, I am getting error "identifier "SOLUTION_DIR" is undefined C/C++(20)" how I can solve this ? and how I can replace it?

const auto pathData = SOLUTION_DIR"data/S2.tsv";

here also pic shows the error enter image description here

Upvotes: 1

Views: 63

Answers (1)

Sebastian
Sebastian

Reputation: 1974

The C++ demo is originally meant for Visual Studio.

You can either

Upvotes: 1

Related Questions