我的Eclipse Java包被视为一个文件夹; 任何人都可以建议什么是错的?
蚂蚁构建中的问题
[javac] Compiling 86 source files to F:\XXX\classes
[javac] javac: invalid target release: 1.6
[javac] Usage: javac <options> <source files>
[javac] where possible options include:
[javac] -g Generate all debugging info
[javac] -g:none Generate no debugging info
[javac] -g:{lines,vars,source} Generate only some debugging info
[javac] -nowarn Generate no warnings
[javac] -verbose Output messages about what the compiler is doing
[javac] -deprecation Output source locations where deprecated APIs are used
[javac] -classpath <path> Specify where to find user class files
[javac] …Run Code Online (Sandbox Code Playgroud) string mesag="";
mesag="aDoubleArray value at 0------->"<<aDoubleArray[0]<<" aDoubleArray value at 1 is "<<aDoubleArray[1];
addLog(AMR_LT_WARN, mesag);// this part not working
addLog(AMR_LT_WARN, "this works well");
Run Code Online (Sandbox Code Playgroud)
我对 C++ 一无所知,只想将 DoubleArray 值打印到日志文件,但它会抛出错误 C2297: '<<' : 非法,右操作数的类型为 'double'