Which one of the following declarations and definitions would you put in a header? In a source file? Explain why
belongs to book: C++ Primer|Stanley B.Lippman, Josee Lajoie, Barbara E.Moo|5th Edition| Chapter number:6| Question number:43
All Answers
total answers (1)
The declarations of both functions should be put in a header. The definition of function
need an explanation for this answer? contact us directly to get an explanation for this answer`eq`
should be put in the same header with declaration. The definition of function`putValues`
may be put in a source file.