rt,我知道可以通过在 DEV 的编译选项里加 -Wl,--stack=... 开无限栈。但当我试图在 VSC 控制台里输入相同的编译命令时,提示:
所在位置 行:1 字符: 54
+ g++ battle.cpp -o battle -std=c++14 -O2 -Wall -lm -Wl,--stack=2147483 ...
+ ~
参数列表中缺少参量。
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : MissingArgument
What should I do?