Nov 21, 2011 at 4:12pm UTC
The errors i get are:
1>c:\users\owner\desktop\folders\college\fall 2011\cs 1044\projects\program 5 try 2\program 5 try 2\program 5 try 2.cpp(67): error C2780: 'std::basic_istream<_Elem,_Traits> &std::getline(std::basic_istream<_Elem,_Traits> &,std::basic_string<_Elem,_Traits,_Alloc> &)' : expects 2 arguments - 3 provided
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\string(479) : see declaration of 'std::getline'
1>c:\users\owner\desktop\folders\college\fall 2011\cs 1044\projects\program 5 try 2\program 5 try 2\program 5 try 2.cpp(67): error C2784: 'std::basic_istream<_Elem,_Traits> &std::getline(std::basic_istream<_Elem,_Traits> &,std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem)' : could not deduce template argument for 'std::basic_istream<_Elem,_Traits> &' from 'std::ifstream'
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\string(468) : see declaration of 'std::getline'
1>c:\users\owner\desktop\folders\college\fall 2011\cs 1044\projects\program 5 try 2\program 5 try 2\program 5 try 2.cpp(67): error C2782: 'std::basic_istream<_Elem,_Traits> &std::getline(std::basic_istream<_Elem,_Traits> &,std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem)' : template parameter '_Elem' is ambiguous
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\string(468) : see declaration of 'std::getline'
1> could be 'const char *'
1> or 'char'
1>c:\users\owner\desktop\folders\college\fall 2011\cs 1044\projects\program 5 try 2\program 5 try 2\program 5 try 2.cpp(67): error C2780: 'std::basic_istream<_Elem,_Traits> &std::getline(std::basic_istream<_Elem,_Traits> &&,std::basic_string<_Elem,_Traits,_Alloc> &)' : expects 2 arguments - 3 provided
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\string(448) : see declaration of 'std::getline'
1>c:\users\owner\desktop\folders\college\fall 2011\cs 1044\projects\program 5 try 2\program 5 try 2\program 5 try 2.cpp(67): error C2784: 'std::basic_istream<_Elem,_Traits> &std::getline(std::basic_istream<_Elem,_Traits> &&,std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem)' : could not deduce template argument for 'std::basic_istream<_Elem,_Traits> &&' from 'std::ifstream'
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\string(395) : see declaration of 'std::getline'
1>c:\users\owner\desktop\folders\college\fall 2011\cs 1044\projects\program 5 try 2\program 5 try 2\program 5 try 2.cpp(67): error C2782: 'std::basic_istream<_Elem,_Traits> &std::getline(std::basic_istream<_Elem,_Traits> &&,std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem)' : template parameter '_Elem' is ambiguous
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\string(395) : see declaration of 'std::getline'
1> could be 'const char *'
1> or 'char'
1>c:\users\owner\desktop\folders\college\fall 2011\cs 1044\projects\program 5 try 2\program 5 try 2\program 5 try 2.cpp(68): error C2780: 'std::basic_istream<_Elem,_Traits> &std::getline(std::basic_istream<_Elem,_Traits> &,std::basic_string<_Elem,_Traits,_Alloc> &)' : expects 2 arguments - 3 provided
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\string(479) : see declaration of 'std::getline'
1>c:\users\owner\desktop\folders\college\fall 2011\cs 1044\projects\program 5 try 2\program 5 try 2\program 5 try 2.cpp(68): error C2784: 'std::basic_istream<_Elem,_Traits> &std::getline(std::basic_istream<_Elem,_Traits> &,std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem)' : could not deduce template argument for 'std::basic_istream<_Elem,_Traits> &' from 'std::ifstream'
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\string(468) : see declaration of 'std::getline'
1>c:\users\owner\desktop\folders\college\fall 2011\cs 1044\projects\program 5 try 2\program 5 try 2\program 5 try 2.cpp(68): error C2782: 'std::basic_istream<_Elem,_Traits> &std::getline(std::basic_istream<_Elem,_Traits> &,std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem)' : template parameter '_Elem' is ambiguous
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\string(468) : see declaration of 'std::getline'
1> could be 'const char *'
1> or 'char'
1>c:\users\owner\desktop\folders\college\fall 2011\cs 1044\projects\program 5 try 2\program 5 try 2\program 5 try 2.cpp(68): error C2780: 'std::basic_istream<_Elem,_Traits> &std::getline(std::basic_istream<_Elem,_Traits> &&,std::basic_string<_Elem,_Traits,_Alloc> &)' : expects 2 arguments - 3 provided
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\string(448) : see declaration of 'std::getline'
1>c:\users\owner\desktop\folders\college\fall 2011\cs 1044\projects\program 5 try 2\program 5 try 2\program 5 try 2.cpp(68): error C2784: 'std::basic_istream<_Elem,_Traits> &std::getline(std::basic_istream<_Elem,_Traits> &&,std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem)' : could not deduce template argument for 'std::basic_istream<_Elem,_Traits> &&' from 'std::ifstream'
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\string(395) : see declaration of 'std::getline'
1>c:\users\owner\desktop\folders\college\fall 2011\cs 1044\projects\program 5 try 2\program 5 try 2\program 5 try 2.cpp(68): error C2782: 'std::basic_istream<_Elem,_Traits> &std::getline(std::basic_istream<_Elem,_Traits> &&,std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem)' : template parameter '_Elem' is ambiguous
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\string(395) : see declaration of 'std::getline'
1> could be 'const char *'
1> or 'char'
1>c:\users\owner\desktop\folders\college\fall 2011\cs 1044\projects\program 5 try 2\program 5 try 2\program 5 try 2.cpp(69): error C2780: 'std::basic_istream<_Elem,_Traits> &std::getline(std::basic_istream<_Elem,_Traits> &,std::basic_string<_Elem,_Traits,_Alloc> &)' : expects 2 arguments - 3 provided
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\string(479) : see declaration of 'std::getline'
1>c:\users\owner\desktop\folders\college\fall 2011\cs 1044\projects\program 5 try 2\program 5 try 2\program 5 try 2.cpp(69): error C2784: 'std::basic_istream<_Elem,_Traits> &std::getline(std::basic_istream<_Elem,_Traits> &,std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem)' : could not deduce template argument for 'std::basic_istream<_Elem,_Traits> &' from 'std::ifstream'
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\string(468) : see declaration of 'std::getline'
1>c:\users\owner\desktop\folders\college\fall 2011\cs 1044\projects\program 5 try 2\program 5 try 2\program 5 try 2.cpp(69): error C2782: 'std::basic_istream<_Elem,_Traits> &std::getline(std::basic_istream<_Elem,_Traits> &,std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem)' : template parameter '_Elem' is ambiguous
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\string(468) : see declaration of 'std::getline'
1> could be 'const char *'
1> or 'char'
1>c:\users\owner\desktop\folders\college\fall 2011\cs 1044\projects\program 5 try 2\program 5 try 2\program 5 try 2.cpp(69): error C2780: 'std::basic_istream<_Elem,_Traits> &std::getline(std::basic_istream<_Elem,_Traits> &&,std::basic_string<_Elem,_Traits,_Alloc> &)' : expects 2 arguments - 3 provided
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\string(448) : see declaration of 'std::getline'