+ 1

Visual studio 2017 include path issues for C++

I have no idea how to solve the problem,it appears include file not found in include path , how do i to solve the problem ? #include <iostream> using namespace std; int main () { // Say HelloWorld five times for (int index = 0; index < 5; ++index) cout << "HelloWorld!" << endl; char input = 'i'; cout << "To exit, press 'm' then the 'Enter' key." << endl; cin >> input; while(input != 'm') { cout << "You just entered '" << input << "'. " << "You need to enter 'm' to exit." << endl; cin >> input; } cout << "Thank you. Exiting." << endl; return 0; } i'm coding this , it indicates that #include has problem .

19th Apr 2017, 7:27 AM
John Goh (KH)
23 Respostas
+ 10
I don't use that...
19th Apr 2017, 8:40 AM
Karl T.
Karl T. - avatar
+ 10
Choose C++ Desktop Dev, which is right under Universal Windows Platform Dev.
19th Apr 2017, 9:37 AM
Karl T.
Karl T. - avatar
+ 9
Whats the exact error message?
19th Apr 2017, 7:45 AM
Karl T.
Karl T. - avatar
+ 9
Why don't you use VC++? Community is free and has less features than Pro or Enterprise : https://www.visualstudio.com/vs/
19th Apr 2017, 7:54 AM
Karl T.
Karl T. - avatar
+ 9
Are you sure you're using Visual Studio Code because I can't find a Pro/Enterprise version. If you are using VS Pro, there is a free trial.
19th Apr 2017, 8:04 AM
Karl T.
Karl T. - avatar
+ 9
VS Code seems like just a code editor without any IDE which is probably why you're having problems compiling.
19th Apr 2017, 8:09 AM
Karl T.
Karl T. - avatar
+ 9
Yes, download that only if you want to make windows apps. Choose C++ install option if you want to make C++ apps.
19th Apr 2017, 8:14 AM
Karl T.
Karl T. - avatar
+ 9
No problem.
19th Apr 2017, 8:32 AM
Karl T.
Karl T. - avatar
+ 9
Phone number? Err, not really. šŸ˜•
19th Apr 2017, 8:36 AM
Karl T.
Karl T. - avatar
+ 9
I'm in Canada. Long distance charges and all that.
19th Apr 2017, 8:38 AM
Karl T.
Karl T. - avatar
+ 8
Windows and Mac.
19th Apr 2017, 8:24 AM
Karl T.
Karl T. - avatar
+ 1
I'm actually using Visual Studio Code 2017 to code C++ **file: 'file:///c%3A/Users/johnh/Desktop/C%2B%2B/main.cpp' severity: 'Info' message: 'Include file not found in include path.' at: '1,1' source: ''** above is my problem. there are another questions, what's the differences between in Visual Studio = Community/Professional/Enterprise Visual Studio Code are there any differences?
19th Apr 2017, 7:49 AM
John Goh (KH)
+ 1
well , i just downloaded Pro . it seems like didn't cost me anything.
19th Apr 2017, 7:58 AM
John Goh (KH)
+ 1
i see, i just downloaded it and just uninstalled it . downloading community... what's the differences to visual studio code ?
19th Apr 2017, 8:06 AM
John Goh (KH)
0
i see . in community there are windows /web & cloud/mobile & gaming ...if i only choose to download "universal window platform development " can i download the rest in the future ?
19th Apr 2017, 8:11 AM
John Goh (KH)
0
I'm using laptop , which one supported?
19th Apr 2017, 8:20 AM
John Goh (KH)
0
okay , thanks buddy
19th Apr 2017, 8:30 AM
John Goh (KH)
0
would you mind add my personal contact number ?i might have further questions lol
19th Apr 2017, 8:34 AM
John Goh (KH)
0
I'm malaysian , +60173208989
19th Apr 2017, 8:37 AM
John Goh (KH)
0
how about whatsapp ?or any other apps ?
19th Apr 2017, 8:39 AM
John Goh (KH)