Electrical and Computer Engineering
8
of 19
UAH
CPE 112
Accessing Identifiers From
Other Program Files
•
Individually
–
extern
int
someInt;
•
Collectively, from a namespace
–
std
::abs(beta);
(qualified name)
–
using
std
::abs;
(using declaration)
–
using
namespace
std
;
(using directive)