Hi,
Is this puts statement valid? ..Ive come across something alike in vlc source code ..
insertCode:#define VERSION abc
static void version (void)
{
puts ("LibVLC plugins cache generation version " VERSION);
}
Printable View
Hi,
Is this puts statement valid? ..Ive come across something alike in vlc source code ..
insertCode:#define VERSION abc
static void version (void)
{
puts ("LibVLC plugins cache generation version " VERSION);
}
No. Why would you even use it?
This is C code, not C++.
If the first line was changed to:
then it would be valid.Code:#define VERSION "abc"