Home > Back-end >  For help using VScode times wrong undefined reference to the problem
For help using VScode times wrong undefined reference to the problem

Time:03-21

Task. Json args I have to mend the
 "args" : [
"- g,"
"${file}",
"D: \ \ a_Vincent_s_Study_Document \ \ VScode Project \ \ LeetCode Tree \ \ \ \ source \ \ solution101 CPP",
"- o,"
"${fileDirname} \ \ ${fileBasenameNoExtension}. Exe"
],

But still error
 main. CPP: (. Text + 0 x8a) : undefined reference to ` Solution101: : isSymmetric (TreeNode *) '


Other parts of the code below
Solution. The CPP

Solution. H

Test. The CPP

Ask why make a day is still the wrong

CodePudding user response:

You look at compile a single. CPP

On the top of the file modification essence is not to mention the specific filename, the solution101. CPP for *. CPP try, if other. CPP is also under the same path,

CodePudding user response:

reference 1st floor forever74 response:
you look in the compilation of a single. CPP

On the top of the file modification essence is not to mention the specific filename, the solution101. CPP for *. CPP try, if other. CPP is also under the same path,

Change is still won't do ah, no matter how I change the tasks. Json does not affect the run...
  • Related