help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Textbook exercise: The C++ Programming Language: definitions and declara


From: Erik Sigra
Subject: Textbook exercise: The C++ Programming Language: definitions and declarations
Date: Mon, 9 Jul 2001 16:10:02 +0200

Hi,


I got stuck on an exercise (The C++ Programming Language, 4.2):

"For each declaration in §4.9, do the following: If the declaration is not a 
definition, write a definition for it. If the declaration is a definition, 
write a declaration for it that is not also a definition."


§4.9 lists 15 declarations and it was trivial to do the task for them, except 
for this one:

"typedef complex<short> Point;"


It is a definition so I have to write a declaration of it that is not also a 
definition, but I have no clue.


Any help is appreciated.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]