HP gnu source-level debugger 5992-4701 Uživatelský manuál Strana 106

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 369
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 105
9.4.1 C and C++
Since C and C++ are so closely related, many features of GDB apply to both languages.
Whenever this is the case, we discuss those languages together.
The C++ debugging facilities are jointly implemented by the C++ compiler and GDB.
Therefore, to debug your C++ code effectively, you must compile your C++ programs
with a supported C++ compiler, such as GNU g++, or the HP ANSI C++ compiler (aCC).
For best results when using GNU C++, use the stabs debugging format. You can select
that format explicitly with the g++ command-line options '-gstabs' or '-gstabs+'.
Refer to section “Options for Debugging Your Program or GNU CC” in Using GNU
CC, for more information.
9.4.1.1 C and C++ operators
Operators must be defined on values of specific types. For instance, + is defined on
numbers, but not on structures. Operators are often defined on groups of types.
For the purposes of C and C++, the following definitions hold:
Integral types include int with any of its storage-class specifiers; char; enum; and,
for C++, bool.
Floating-point types include float, double, and long double (if supported by
the target platform).
Pointer types include all types defined as (type *).
Scalar types include all of the above.
The following operators are supported. They are listed here in order of increasing
precedence:
,
The comma or sequencing operator. Expressions in a
comma-separated list are evaluated from left to right, with the
result of the entire expression being the last expression evaluated.
=
Assignment. The value of an assignment expression is the value
assigned. Defined on scalar types.
op=
Used in an expression of the form a op= b, and translated to a = a
op b. op= and = have the same precedence. op is any one of the
operators |, ^, &, <<, >>, +, -, *, /, %.
?:
The ternary operator. a ? b : c can be thought of as: if a then b else
c. a should be of an integral type.
||
Logical OR. Defined on integral types.
&&
Logical AND. Defined on integral types.
|
Bitwise OR. Defined on integral types.
^
Bitwise exclusive-OR. Defined on integral types.
&
Bitwise AND. Defined on integral types.
106 Using GDB with Different Languages
Zobrazit stránku 105
1 2 ... 101 102 103 104 105 106 107 108 109 110 111 ... 368 369

Komentáře k této Příručce

Žádné komentáře

AEG AGN81800C0 manuels

Manuels d'utilisation et guides de l'utilisateur pour Congélateurs AEG AGN81800C0.
Nous fournissons des manuels en pdf 2 AEG AGN81800C0 à télécharger gratuitement par type de document : Manuel de l'utilisateur






Plus de produits et de manuels pour Congélateurs AEG

Modèles Type de document
SCE81816TF Manuel de l'utilisateur Aeg SCE81816TF Brugermanual, 36 pages
SCE81824TS Manuel de l'utilisateur   Aeg SCE81824TS Brugermanual [pl] [sk] [ua] , 72 pages
S94400CTX0 Manuel de l'utilisateur    Aeg S94400CTX0 Kullanım kılavuzu [da] , 44 pages
SCS51800S1 Manuel de l'utilisateur   Aeg SCS51800S1 Uživatelský manuál, 60 pages
S83920CMXF Manuel de l'utilisateur      Aeg S83920CMXF Ръководство за употреба [en] , 72 pages
S83420CTX2 Manuel de l'utilisateur   Aeg S83420CTX2 Ohjekirja, 68 pages
A52800GSW0 Manuel de l'utilisateur      Aeg A52800GSW0 Handleiding, 44 pages
S83430CTX2 Manuel de l'utilisateur     Aeg S83430CTX2 User Manual [en] , 72 pages
S84000CSM1 Manuel de l'utilisateur   Aeg S84000CSM1 Uživatelský manuál, 40 pages
SCB41811LS Manuel de l'utilisateur      Aeg SCB41811LS Handleiding, 64 pages
AGS78800F0 Manuel de l'utilisateur     Aeg AGS78800F0 Handleiding, 76 pages
S83420CTW2 Manuel de l'utilisateur    Aeg S83420CTW2 Brugermanual [en] , 44 pages
AIK2223R Manuel de l'utilisateur     Aeg AIK2223R Manuel utilisateur [es] , 48 pages
S44000KDX0 Manuel de l'utilisateur Aeg S44000KDX0 Brugermanual, 28 pages
AGE72624NW Manuel de l'utilisateur   Aeg AGE72624NX Brugermanual [da] [et] [sv] , 48 pages
AGN2553 Manuel de l'utilisateur   Aeg AGN2553 User Manual, 20 pages
ABE81816NC Manuel de l'utilisateur   Aeg ABE81816NC Brugermanual [es] , 56 pages
SCD71800S1 Manuel de l'utilisateur   Aeg SCD71800S1 Ohjekirja [et] , 72 pages
ARC3193-4GA Manuel de l'utilisateur   Aeg ARC3193-4GA User Manual, 40 pages
S73820CMX2 Manuel de l'utilisateur     Aeg S73820CMX2 Manuel utilisateur [es] , 76 pages