A
arnuld
i have 2 problems:
1.) in section 4.2 he uses:
bool is_open(File*)
i want to know why he uses the pointer, instead of these 2:
bool is_open(File) or bool is_open(File&)
2.) section 4.9, Stroustrup says:
double sqrt(double);
enum Beer { Carlsberg, Tuborg, Thor };
namespace NS { int a; }
these are declarations only, as per my point of view but Stroustrup
says these are definitions. how ?
thanks
1.) in section 4.2 he uses:
bool is_open(File*)
i want to know why he uses the pointer, instead of these 2:
bool is_open(File) or bool is_open(File&)
2.) section 4.9, Stroustrup says:
double sqrt(double);
enum Beer { Carlsberg, Tuborg, Thor };
namespace NS { int a; }
these are declarations only, as per my point of view but Stroustrup
says these are definitions. how ?
thanks