السلام عليكــم ورحمـة الله وبركاتــه
لو سمحتوا أخواني لدي مشكله منذ يومين وهي أن المترجم الذي استخدمه منذ سنه أصبح لا يعمل لي رن
أول ما أسوي كومبايل يطلع لي 102 إيرور وبكل برنامج ولا فهمتها..
Compiling...
tre.cpp
c:\program files\microsoft visual studio\vc98\include\string(5) : error C2447: missing function header (old-style formal list?)
c:\program files\microsoft visual studio\vc98\include\string(12) : error C2065: 'cout' : undeclared identifier
c:\program files\microsoft visual studio\vc98\include\string(12) : error C2297: '<<' : illegal, right operand has type 'char [2]'
c:\program files\microsoft visual studio\vc98\include\string(13) : error C2664: 'f1' : cannot convert parameter 1 from 'int' to 'int &'
A reference that is not to 'const' cannot be bound to a non-lvalue
c:\program files\microsoft visual studio\vc98\include\string(14) : error C2664: 'f1' : cannot convert parameter 1 from 'const int' to 'int &'
A reference that is not to 'const' cannot be bound to a non-lvalue
c:\program files\microsoft visual studio\vc98\include\string(19) : error C2556: 'void __cdecl f1(int &)' : overloaded function differs only by return type from 'int __cdecl f1(int &)'
c:\program files\microsoft visual studio\vc98\include\string(4) : see declaration of 'f1'
c:\program files\microsoft visual studio\vc98\include\string(19) : error C2371: 'f1' : redefinition; different basic types
c:\program files\microsoft visual studio\vc98\include\string(4) : see declaration of 'f1'
c:\program files\microsoft visual studio\vc98\include\string(21) : warning C4552: '<<' : operator has no effect; expected operator with side-effect
c:\program files\microsoft visual studio\vc98\include
هذي بعض الأخطاء اللي تطلع لي..
أرجو مساعدتي