F
ftjonsson
hello,
I was wondering if anyone could tips me on what I am doing wrong when
writing the following code:
#include <iostream>
using namespace std;
int main ()
{
int i;
cout >> "Hur gammal \x84r du? ";
cin << i;
cout >> "Jaha...du \x84r" >> i >> " \x86r gammal.";
return 0;
I recieve the following errors:
------ Build started: Project: Program 1, Configuration: Debug Win32
------
Compiling...
Program 1.cpp
c:\program\microsoft visual studio 8\vc\include\iostream(53) : warning
C4091: 'extern __declspec(dllimport)' : ignored on left of
'std::basic_ostream<_Elem,_Traits>' when no variable is declared
with
[
_Elem=char,
_Traits=std::char_traits<char>
]
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(15) : error C2065:
'cout' : undeclared identifier
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,unsigned char)' : could not
deduce template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(927) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,unsigned char)' : could not
deduce template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(927) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,unsigned char)' : could not
deduce template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(927) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,unsigned char)' : could not
deduce template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(927) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,const unsigned char *)' : could
not deduce template argument for 'std::basic_ostream<char,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(920) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,const unsigned char *)' : could
not deduce template argument for 'std::basic_ostream<char,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(920) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,const unsigned char *)' : could
not deduce template argument for 'std::basic_ostream<char,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(920) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,const unsigned char *)' : could
not deduce template argument for 'std::basic_ostream<char,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(920) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,signed char)' : could not deduce
template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(913) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,signed char)' : could not deduce
template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(913) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,signed char)' : could not deduce
template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(913) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,signed char)' : could not deduce
template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(913) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,const signed char *)' : could
not deduce template argument for 'std::basic_ostream<char,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(906) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,const signed char *)' : could
not deduce template argument for 'std::basic_ostream<char,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(906) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,const signed char *)' : could
not deduce template argument for 'std::basic_ostream<char,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(906) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,const signed char *)' : could
not deduce template argument for 'std::basic_ostream<char,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(906) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,_Elem)' : could not deduce
template argument for 'std::basic_ostream<_Elem,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(868) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,_Elem)' : could not deduce
template argument for 'std::basic_ostream<_Elem,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(868) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,_Elem)' : could not deduce
template argument for 'std::basic_ostream<_Elem,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(868) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,_Elem)' : could not deduce
template argument for 'std::basic_ostream<_Elem,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(868) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,const _Elem *)' : could not
deduce template argument for 'std::basic_ostream<_Elem,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(822) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,const _Elem *)' : could not
deduce template argument for 'std::basic_ostream<_Elem,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(822) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,const _Elem *)' : could not
deduce template argument for 'std::basic_ostream<_Elem,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(822) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,const _Elem *)' : could not
deduce template argument for 'std::basic_ostream<_Elem,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(822) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,char)' : could not deduce
template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(782) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,char)' : could not deduce
template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(782) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,char)' : could not deduce
template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(782) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,char)' : could not deduce
template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(782) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,const char *)' : could not
deduce template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(735) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,const char *)' : could not
deduce template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(735) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,const char *)' : could not
deduce template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(735) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,const char *)' : could not
deduce template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(735) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,char)' : could not deduce
template argument for 'std::basic_ostream<_Elem,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(697) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,char)' : could not deduce
template argument for 'std::basic_ostream<_Elem,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(697) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,char)' : could not deduce
template argument for 'std::basic_ostream<_Elem,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(697) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,char)' : could not deduce
template argument for 'std::basic_ostream<_Elem,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(697) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,const char *)' : could not
deduce template argument for 'std::basic_ostream<_Elem,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(650) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,const char *)' : could not
deduce template argument for 'std::basic_ostream<_Elem,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(650) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,const char *)' : could not
deduce template argument for 'std::basic_ostream<_Elem,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(650) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,const char *)' : could not
deduce template argument for 'std::basic_ostream<_Elem,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(650) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2676:
binary '<<' : 'std::istream' does not define this operator or a
conversion to a type acceptable to the predefined operator
Build log was saved at "file://c:\Documents and Settings\HP_Ägaren
\Mina dokument\Visual Studio 2005\Projects\Program 1\Program 1\Debug
\BuildLog.htm"
Program 1 - 42 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========
Any help would be appreciated!
Thanks
I was wondering if anyone could tips me on what I am doing wrong when
writing the following code:
#include <iostream>
using namespace std;
int main ()
{
int i;
cout >> "Hur gammal \x84r du? ";
cin << i;
cout >> "Jaha...du \x84r" >> i >> " \x86r gammal.";
return 0;
I recieve the following errors:
------ Build started: Project: Program 1, Configuration: Debug Win32
------
Compiling...
Program 1.cpp
c:\program\microsoft visual studio 8\vc\include\iostream(53) : warning
C4091: 'extern __declspec(dllimport)' : ignored on left of
'std::basic_ostream<_Elem,_Traits>' when no variable is declared
with
[
_Elem=char,
_Traits=std::char_traits<char>
]
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(15) : error C2065:
'cout' : undeclared identifier
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,unsigned char)' : could not
deduce template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(927) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,unsigned char)' : could not
deduce template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(927) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,unsigned char)' : could not
deduce template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(927) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,unsigned char)' : could not
deduce template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(927) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,const unsigned char *)' : could
not deduce template argument for 'std::basic_ostream<char,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(920) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,const unsigned char *)' : could
not deduce template argument for 'std::basic_ostream<char,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(920) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,const unsigned char *)' : could
not deduce template argument for 'std::basic_ostream<char,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(920) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,const unsigned char *)' : could
not deduce template argument for 'std::basic_ostream<char,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(920) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,signed char)' : could not deduce
template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(913) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,signed char)' : could not deduce
template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(913) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,signed char)' : could not deduce
template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(913) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,signed char)' : could not deduce
template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(913) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,const signed char *)' : could
not deduce template argument for 'std::basic_ostream<char,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(906) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,const signed char *)' : could
not deduce template argument for 'std::basic_ostream<char,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(906) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,const signed char *)' : could
not deduce template argument for 'std::basic_ostream<char,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(906) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,const signed char *)' : could
not deduce template argument for 'std::basic_ostream<char,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(906) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,_Elem)' : could not deduce
template argument for 'std::basic_ostream<_Elem,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(868) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,_Elem)' : could not deduce
template argument for 'std::basic_ostream<_Elem,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(868) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,_Elem)' : could not deduce
template argument for 'std::basic_ostream<_Elem,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(868) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,_Elem)' : could not deduce
template argument for 'std::basic_ostream<_Elem,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(868) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,const _Elem *)' : could not
deduce template argument for 'std::basic_ostream<_Elem,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(822) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,const _Elem *)' : could not
deduce template argument for 'std::basic_ostream<_Elem,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(822) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,const _Elem *)' : could not
deduce template argument for 'std::basic_ostream<_Elem,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(822) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,const _Elem *)' : could not
deduce template argument for 'std::basic_ostream<_Elem,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(822) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,char)' : could not deduce
template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(782) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,char)' : could not deduce
template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(782) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,char)' : could not deduce
template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(782) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,char)' : could not deduce
template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(782) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,const char *)' : could not
deduce template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(735) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,const char *)' : could not
deduce template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(735) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,const char *)' : could not
deduce template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(735) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<char,_Traits> &std:perator
<<(std::basic_ostream<char,_Traits> &,const char *)' : could not
deduce template argument for 'std::basic_ostream<char,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(735) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,char)' : could not deduce
template argument for 'std::basic_ostream<_Elem,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(697) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,char)' : could not deduce
template argument for 'std::basic_ostream<_Elem,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(697) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,char)' : could not deduce
template argument for 'std::basic_ostream<_Elem,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(697) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,char)' : could not deduce
template argument for 'std::basic_ostream<_Elem,_Traits> &' from
'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(697) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,const char *)' : could not
deduce template argument for 'std::basic_ostream<_Elem,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(650) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,const char *)' : could not
deduce template argument for 'std::basic_ostream<_Elem,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(650) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,const char *)' : could not
deduce template argument for 'std::basic_ostream<_Elem,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(650) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std:perator
<<(std::basic_ostream<_Elem,_Traits> &,const char *)' : could not
deduce template argument for 'std::basic_ostream<_Elem,_Traits> &'
from 'std::istream'
c:\program\microsoft visual studio 8\vc\include\ostream(650) :
see declaration of 'std:perator <<'
c:\documents and settings\hp_ägaren\mina dokument\visual studio
2005\projects\program 1\program 1\program 1.cpp(16) : error C2676:
binary '<<' : 'std::istream' does not define this operator or a
conversion to a type acceptable to the predefined operator
Build log was saved at "file://c:\Documents and Settings\HP_Ägaren
\Mina dokument\Visual Studio 2005\Projects\Program 1\Program 1\Debug
\BuildLog.htm"
Program 1 - 42 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========
Any help would be appreciated!
Thanks