Home > Back-end >  On the MAC configuration VScode small white for help
On the MAC configuration VScode small white for help

Time:10-06

Want to use VScode compiling c + +
According to the VScode website step by step to add the source file, began to report errors, such as the appended drawings,
Could you tell me how to solve this should be?
Thank you very much!

CodePudding user response:

The error is very clear

Grammar is not in conformity with the current standard language, it goes with the fear of you is not only suitable for c + + 98

CodePudding user response:

1/f, reference and 蘤 old crepe response:
error clear

Grammar does not conform to the standard language, what are you afraid of this match is not only applicable to c + + 98
where was this change... I directly according to the official website of the properties. The json, launch the json and task. The json set of... It is written "cStandard" : "c11" and "cppStandard" : "c + + 17," task. Json is corresponding with the...

CodePudding user response:

refer to the second floor shadowpanada response:
Quote: refer to 1st floor and 蘤 old crepe reply:
error clear

Grammar does not conform to the standard language, what are you afraid of this match is not only applicable to c + + 98
where was this change... I directly according to the official website of the properties. The json, launch the json and task. The json set of... It is written "cStandard" : "c11" and "cppStandard" : "c + + 17," task. Json is corresponding with the...

Can see can run, run that would be false positives, syntax checking this problem, if not, it may still not match good, concrete is not clear, can continue to screen, can be directly used in terminal commands to compile the program, see can run no, no that is the question about which the compiler

CodePudding user response:

Seems can not run directly... Is still reported an error a warning... It is interesting... Can debug step by step, so in MAC terminal can display "Hello, c + + World from VS code!" ?? Before thought configuration has a problem, reinstall again vscode, also still have the same error...

CodePudding user response:

references and 蘤 old crepe reply: 3/f
Quote: refer to the second floor shadowpanada response:
Quote: refer to 1st floor and 蘤 old crepe reply:
error clear

Grammar does not conform to the standard language, what are you afraid of this match is not only applicable to c + + 98
where was this change... I directly according to the official website of the properties. The json, launch the json and task. The json set of... It is written "cStandard" : "c11" and "cppStandard" : "c + + 17," task. Json is corresponding with the...

Can see can run, run that would be false positives, syntax checking this problem, if not, it may still not match good, concrete is not clear, can continue to screen, can be directly used in terminal commands to compile the program, see can run no, no that is the problem the compiler
reply see 4th floor! Still thank you first!!
  • Related