السلام عليكم جميعا
---------------------------------------اريد منكم بعض الاجابات على كم سؤال في لغة سي++
---------------------
1-
اريد شرح مبسط عن identifier names ..... كما وفي هذا الموضوع لم افهم فقره معينه اريد شرحها منكم ..الفقره هي:-
In C, identifiers may be of any length. However, not all characters will necessarily
be significant. If the identifier will be involved in an external link process, then at
least the first six characters will be significant. These identifiers, called
external names,
include function names and global variables that are shared between files. If the
identifier is not used in an external link process, then at least the first 31 characters
will be significant. This type of identifier is called an
internal name and includes the
names of local variables, for example. In C++, there is no limit to the length of an
identifier, and at least the first 1,024 characters are significant. This difference may
be important if you are converting a program from C to C++.
In an identifier, upper- and lowercase are treated as distinct. Hence,
count, Count,
and
COUNT are three separate identifiers.
An identifier cannot be the same as a C or C++ keyword, and should not have the
same name as functions that are in the C or C++ library
....................................................................................
2- اريد شرح الفقره التاليه في موضوع الثوابت "constants"
For most programs you will write, the compiler defaults are adequate. However,
you can specify precisely the type of numeric constant you want by using a suffix. For
floating-point types, if you follow the number with an F, the number is treated as a
float
. If you follow it with an L, the number becomes a long double. For integer types,
the U suffix stands for
unsigned and the L for long.
.................................................................................................... ........................
3- اريد شرح وافي عن bitwise operators ( ارجوا ان يشمل الشرح الفرق بين xor and or )
.................................................................................................... ........................
4- اريد شرح وافي عن the compile-time operator sizeof
.................................................................................................... ............................
5- اريد شرح هذه الفقره عن الموضوع التالي :- relational and logical operator
Although neither C nor C++ contain an exclusive OR (XOR) logical operator, you
can easily create a function that performs this task using the other logical operators.
The outcome of an XOR operation is true if and only if one operand (but not both) is
true.
--------------------------------------------
ارجوا ان يكون الشرح مفهوم لي ولجميع من سيقرا هذا الموضوع
وشكرا للجميع
تعليق