--- In [email protected], Satya Prasad <satya_prakash_pra...@...> wrote: > > Is it a good design pattern to use # and / in defining strings constants: > > #define URL "http://" > #define COLOR "#F3F3FE3"
There's no reason why you shouldn't. However, I wouldn't call the above true 'constants' because no storage is allocated. The following defines constant strings: const char url[] = URL, color[] = COLOR;
