C++ Predefined Constants - C++ Data Type

C++ examples for Data Type:const

Introduction

CONSTANT MEANING IF DEFINED
__cplusplus Indicates support of a particular version of C++. Current, up-to-date compilers should define it as 199711 or greater.
__DATE__ Expands to a date string in the format mm dd yyyy.
__FILE__ Name of file being compiled.
__LINE__ Current line being compiled.
__STDC__ Defined by C compilers as 1. Usually defined by C++ compilers to indicate support for C, but this is implementation-defined.
__TIME__ Expands to a time string in the format hh:mm:ss.

Related Tutorials