[29] Questions et réponses pour débutants
(Une partie de C++ FAQ Lite fr,
Copyright © 1991-2002,
Marshall Cline,
cline@parashift.com)
Traduit de l'anglais par
Christophe Galerne
Les FAQs de la section [29]
[29.1]
What is this "newbie section" all about?
[ Haut | Bas | Rechercher ]
[29.2]
Where do I start? Why do I feel so confused, so stupid?
[ Haut | Bas | Rechercher ]
[29.3]
Should I use void main() or int main()?
[ Haut | Bas | Rechercher ]
[29.4]
Should I use f(void) or f()?
[ Haut | Bas | Rechercher ]
[29.5]
What are the criteria for choosing between short / int / long data types?
[ Haut | Bas | Rechercher ]
[29.6]
What the heck is a const variable? Isn't that a contradiction in terms?
[ Haut | Bas | Rechercher ]
[29.7]
Why would I use a const variable / const identifier as opposed to #define?
[ Haut | Bas | Rechercher ]
[29.8]
Are you saying that the preprocessor is evil?
[ Haut | Bas | Rechercher ]
[29.9]
What is the "standard library"? What is included / excluded from it?
[ Haut | Bas | Rechercher ]
[29.10]
How should I lay out my code? When should I use spaces, tabs, and/or newlines in my code?
[ Haut | Bas | Rechercher ]
[29.11]
Is it okay if a lot of numbers appear in my code?
[ Haut | Bas | Rechercher ]
[29.12]
What's the point of the L, U and f suffixes on numeric literals?
[ Haut | Bas | Rechercher ]
[29.13]
I can understand the and (&&) and or (||) operators, but what's the purpose of the not (!) operator?
[ Haut | Bas | Rechercher ]
[29.14]
Is !(a < b) logically the same as a >= b?
[ Haut | Bas | Rechercher ]
[29.15]
What is this NaN thing?
[ Haut | Bas | Rechercher ]
[29.16]
Why is floating point so inaccurate? Why doesn't this print 0.43?
[ Haut | Bas | Rechercher ]
[29.17]
Why doesn't my floating-point comparison work?
[ Haut | Bas | Rechercher ]
[29.18]
What is the type of an enumeration such as enum Color? Is it of type int?
[ Haut | Bas | Rechercher ]
[29.19]
If an enumeration type is distinct from any other type, what good is it? What can you do with it?
[ Haut | Bas | Rechercher ]
Ecrire à l'auteur,
au traducteur,
ou en savoir plus sur la traduction.
C++ FAQ Lite fr |
Table des matières |
Index |
A propos de l'auteur |
© |
Téléchargez votre propre copie ]
Dernière révision Sun Apr 13 23:54:42 PDT 2003