Hey guys, I'm currently trying to convert a code from c to c++. I have corrected a few things, but I am now stuck. I tried compiling and I am getting errors. Btw I am using g++ compiler in terminal in linux.
the errors I am getting are:
audio_backup.cpp:**:24: warning: deprecated conversion from string constant to ‘char*’
audio_backup.cpp: In function ‘int generate_sine(const snd_pcm_channel_area_t*, snd_pcm_uframes_t, int, double*)’:
audio_backup.cpp:5*:76: error: invalid operands of types ‘unsigned int’ and ‘const char [2]’ to binary ‘operator<<’

I'm not sure what this means. Can any one help me please?