From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
Are function prototypes something new to Visual C++ ? I am learning from 'Accelerated C++', using the MS VC++.Net compiler and it seems that I must enter function prototypes for any functions in the program. There is no mention of function prototypes in 'Accelerated C++' by Koenig/Moo.
Function prototypes are not specific to Visual C++ - they're part of ANSI C, which C++ is a superset of. They're conceptually very similar to the class declarations that you define in your header files. Your book may not have mentioned them if it only talked about C++ classes and didn't talk about global C-style functions.