Oh I see! My bad! Actually what happened is, I gave tag as 'c++' which I guess the editor cannot differentiate. It just omits the '++'. Now I have given cpp which works. Thanks for the correction though :)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice code. My one is C++ though!
OK. I was maybe too subtle.
I was really just pointing out the fact that you posted C++ code to the #c topic, when you actually wanted the #cpp one...
Remember, C != C++, I see people conflating the two all too often...
Oh I see! My bad! Actually what happened is, I gave tag as 'c++' which I guess the editor cannot differentiate. It just omits the '++'. Now I have given cpp which works. Thanks for the correction though :)