is there any way to have a shortcut / macro to put c++ (double slash) style comments in C sources ? I only menage to obtain c (no-block) comments ie.
/*
comment...
*/
which is somewhat umcomfortable
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityThis depends on your compiler and if 'strict' is applied.
C99 introduced several new features, (..) and support for one-line comments beginning with //, as in BCPL or C++. Many of these had already been implemented as extensions in several C compilers.