السلام عليكم و رحمة الله و بركاته
انا مبتدى c++ اريد معرفه الفرق بين
++turbo c و++visual c
ولماذا كلما كتبت برنامج على ++visual c يحدث errors
مثل هذا البرنامج
< include<iostream.h#
< include<ctype.h#
"define message "this is a vowel#
()main
{
;har chr
cout<<"enter your character ";
cin<<chr;
chr=toupper(chr);
switch (chr)
{
case 'A':cout<<message;
break;
case 'E':cout<<message;
break;
case 'I':cout<<message;
break;
case 'O':cout<<message;
break;
case 'U':cout<<message;
break;
default :cout<<"not a vowel";
}
return 0;
}اسف لان البرنامج مكتوب معكوس
الاخطاء
اقتباس
C:\Program Files\Microsoft Visual Studio\MyProjects\vowel\vowel.cpp(11) : error C2676: binary '<<' : 'class istream_withassign' does not define this operator or a conversion to a type acceptable to the predefined operator
Error executing cl.exe.
