Is it possible for a missing #include to break the program at runtime?

Yes, it’s perfectly possible. I’m sure there are lots of ways, but suppose the include file contained a global variable definition which called a constructor. In the first case the constructor would execute, and in the second it wouldn’t.

Putting a global variable definition in a header file is poor style, but it’s possible.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)