Hi friends,
While trying to compile a prog that uses a file to place data ,I am getting the following compilation error:-
C:\Vectors.cpp(26) : warning C4129: 'l' : unrecognized character escape sequence
C:\Vectors.cpp(33) : error C2872: 'cout' : ambiguous symbol
C:\Vectors.cpp(40) : error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'class __SMANIP_long' (or there is no acceptable conversion)
C:\Vectors.cpp(41) : error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'class __SMANIP_int' (or there is no acceptable conversion)
C:\Vectors.cpp(45) : error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'class __SMANIP_long' (or there is no acceptable conversion)
C:\Vectors.cpp(56) : error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'class __SMANIP_int' (or there is no acceptable conversion)
C:\Vectors.cpp(62) : error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'class __SMANIP_int' (or there is no acceptable conversion)
Error executing cl.exe.
Vectors.obj - 6 error(s), 1 warning(s)
While trying to compile a prog that uses a file to place data ,I am getting the following compilation error:-
C:\Vectors.cpp(26) : warning C4129: 'l' : unrecognized character escape sequence
C:\Vectors.cpp(33) : error C2872: 'cout' : ambiguous symbol
C:\Vectors.cpp(40) : error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'class __SMANIP_long' (or there is no acceptable conversion)
C:\Vectors.cpp(41) : error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'class __SMANIP_int' (or there is no acceptable conversion)
C:\Vectors.cpp(45) : error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'class __SMANIP_long' (or there is no acceptable conversion)
C:\Vectors.cpp(56) : error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'class __SMANIP_int' (or there is no acceptable conversion)
C:\Vectors.cpp(62) : error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'class __SMANIP_int' (or there is no acceptable conversion)
Error executing cl.exe.
Vectors.obj - 6 error(s), 1 warning(s)