新手问题编译出错
d:\microsoft visual studio\vc98\include\xlocale(413) : error C2059: syntax error : '<<'d:\microsoft visual studio\vc98\include\xlocale(415) : error C2143: syntax error : missing ';' before '}'
d:\microsoft visual studio\vc98\include\xlocale(415) : error C2238: unexpected token(s) preceding ';'
d:\microsoft visual studio\vc98\include\xlocale(419) : error C2550: 'ctype_base' : constructor initializer lists are only allowed on constructor definitions
d:\microsoft visual studio\vc98\include\xlocale(419) : warning C4508: 'ctype_base' : function should return a value; 'void' return type assumed
d:\microsoft visual studio\vc98\include\xlocale(423) : error C2504: 'ctype_base' : base class undefined
d:\microsoft visual studio\vc98\include\xlocale(513) : see reference to class template instantiation 'ctype<_E>' being compiled
d:\microsoft visual studio\vc98\include\xlocale(426) : error C2061: syntax error : identifier 'mask'
d:\microsoft visual studio\vc98\include\xlocale(513) : see reference to class template instantiation 'ctype<_E>' being compiled
d:\microsoft visual studio\vc98\include\xlocale(428) : error C2061: syntax error : identifier 'mask'
d:\microsoft visual studio\vc98\include\xlocale(513) : see reference to class template instantiation 'ctype<_E>' being compiled
d:\microsoft visual studio\vc98\include\xlocale(430) : error C2061: syntax error : identifier 'mask'
d:\microsoft visual studio\vc98\include\xlocale(513) : see reference to class template instantiation 'ctype<_E>' being compiled
d:\microsoft visual studio\vc98\include\xlocale(433) : error C2061: syntax error : identifier 'mask'
d:\microsoft visual studio\vc98\include\xlocale(513) : see reference to class template instantiation 'ctype<_E>' being compiled
d:\microsoft visual studio\vc98\include\xlocale(454) : error C2653: 'locale' : is not a class or namespace name
d:\microsoft visual studio\vc98\include\xlocale(513) : see reference to class template instantiation 'ctype<_E>' being compiled
d:\microsoft visual studio\vc98\include\xlocale(454) : error C2146: syntax error : missing ';' before identifier 'id'
d:\microsoft visual studio\vc98\include\xlocale(513) : see reference to class template instantiation 'ctype<_E>' being compiled
d:\microsoft visual studio\vc98\include\xlocale(454) : error C2501: 'id' : missing storage-class or type specifiers
d:\microsoft visual studio\vc98\include\xlocale(513) : see reference to class template instantiation 'ctype<_E>' being compiled
d:\microsoft visual studio\vc98\include\xlocale(457) : error C2629: unexpected 'class ctype<_E> ('
d:\microsoft visual studio\vc98\include\xlocale(513) : see reference to class template instantiation 'ctype<_E>' being compiled
d:\microsoft visual studio\vc98\include\xlocale(457) : error C2334: unexpected token(s) preceding ':'; skipping apparent function body
d:\microsoft visual studio\vc98\include\xlocale(513) : see reference to class template instantiation 'ctype<_E>' being compiled
d:\microsoft visual studio\vc98\include\xlocale(466) : error C2143: syntax error : missing ',' before '&'
d:\microsoft visual studio\vc98\include\xlocale(513) : see reference to class template instantiation 'ctype<_E>' being compiled
d:\microsoft visual studio\vc98\include\xlocale(466) : error C2059: syntax error : '&'
d:\microsoft visual studio\vc98\include\xlocale(513) : see reference to class template instantiation 'ctype<_E>' being compiled
d:\microsoft visual studio\vc98\include\xlocale(468) : error C2061: syntax error : identifier 'mask'
d:\microsoft visual studio\vc98\include\xlocale(513) : see reference to class template instantiation 'ctype<_E>' being compiled
d:\microsoft visual studio\vc98\include\xlocale(471) : error C2061: syntax error : identifier 'mask'
d:\microsoft visual studio\vc98\include\xlocale(513) : see reference to class template instantiation 'ctype<_E>' being compiled
d:\microsoft visual studio\vc98\include\xlocale(475) : error C2061: syntax error : identifier 'mask'
d:\microsoft visual studio\vc98\include\xlocale(513) : see reference to class template instantiation 'ctype<_E>' being compiled
d:\microsoft visual studio\vc98\include\xlocale(480) : error C2061: syntax error : identifier 'mask'
d:\microsoft visual studio\vc98\include\xlocale(513) : see reference to class template instantiation 'ctype<_E>' being compiled
d:\microsoft visual studio\vc98\include\xlocale(512) : error C2653: '_Locinfo' : is not a class or namespace name
d:\microsoft visual studio\vc98\include\xlocale(513) : see reference to class template instantiation 'ctype<_E>' being compiled
d:\microsoft visual studio\vc98\include\xlocale(516) : error C2653: 'locale' : is not a class or namespace name
d:\microsoft visual studio\vc98\include\xlocale(516) : error C2143: syntax error : missing ';' before 'tag::id'
d:\microsoft visual studio\vc98\include\xlocale(516) : error C2501: 'id' : missing storage-class or type specifiers
d:\microsoft visual studio\vc98\include\xlocale(516) : error C2059: syntax error : ';'
d:\microsoft visual studio\vc98\include\xlocale(516) : fatal error C1903: unable to recover from previous error(s); stopping compilation
Error executing cl.exe.
用的是6.0,程序不是我写的,我就是运行了下,一开始有一个错误说里面有一个头文件没有,所以就从网上下来叫Matrixt.h,然后再运行就出了这些错误,网上众说纷纭,有的说要卸掉装低版本的,有的说该torque什么的,我是什么都不懂啊,请大家帮忙解决下这个问题.语言要简单些,就把我当白菜一颗就好. 仅有头文件也不一定行
而且这个Matrix.h文件也不是通用的
不同人写的函数还会不一样的
页:
[1]