/* GRM-P45.C -- Graham, Learning C++, p. 45 */
// File rabbits.ccp
// Program for inverse Fibonacci rabbit problem
#include <iostream.h>
main()
{
// Get input from user
long current; // number of pairs this month
long fertile; // number of fertile pairs
long needed; // number of pairs needed
...
}
Error messages:
Compiling C:\GRM-P45.C:
Error E:\TC\INCLUDE\IOSTREAM.H 38: Declaration syntax error
Error E:\TC\INCLUDE\IOSTREAM.H 39: Declaration syntax error
Error E:\TC\INCLUDE\IOSTREAM.H 42: Declaration syntax error
...
// End of File