بسم الله الرحمن الرحيم
الحمدلله بدأت من فترة بكتاب beginning Visual c++ 2008
و لكن فجأة جاء ليشرح ال Character Data Types
و وقفت امامى بعض الاشياء
فمثلا هل اقدر ان اكتب unsigned long
لكى اقدر على اكبر رقم ؟
ام استخدم long
ام signed long
ثم اتت لى مشكلة اخرى فى نفس الصفحة و هذا ما بدء يعكر صفوى
فأنا لا ادرى بأى شئ فى الهيكاديسمل او البينارى
فأنا 14 سنة
و لنقل اننى اكره الرياضيات و اتذكر منها سوى الجمع و الطرح
فأتت الى القطعة التى تتكلم عن ال wchar_t و هى اصعب منطقة حتى الأن الى
اقتباسYou can also use hexadecimal constants to initialize char variables (and other integer types), and it is
obviously going to be easier to use this notation when character codes are available as hexadecimal values.
A hexadecimal number is written using the standard representation for hexadecimal digits: 0 to 9,
and A to F (or a to f) for digits with values from 10 to 15. It’s also preceded by 0x (or 0X) to distinguish it
from a decimal value. Thus, to get exactly the same result again, you could rewrite the last statement as
follows:
wchar_t letter(0x5A); // A variable storing a 16-bit character code
ما اريد فهمه هنا ما هو الهيكسا ديسمل مع الشرح و انا اسف على هذا لكن اريد ان افهم لأننى احببت اللغة جدا
اخير شئ اريد فهمه
ما هو ال bit character مثلا
و ما هو ال byte الذى نقوم بحسابه لكى نعرف ما حجم الانتجر الذى نكتبه
اسف على التطويل