Write Code That Works in the Largest Number of C Compilers
Home | Overview | How Do I | FAQ | Details
For code that is most universal among C compilers, write strictly ANSI C and ANSI C++ code.
To write strict ANSI C/C++ code
- Do not use the MFC library. Call Win32 APIs directly.
- Disable Microsoft extensions.
- Use the iostream library from the ANSI Standard C++ library.
- Use the Standard template library from the ANSI Standard C++ library.