Quote Originally Posted by Paul McKenzie View Post
Please note that C and C++ are two different languages with differing rules as to what is valid and what isn't valid. Trying to go back and forth between the two languages, especially when you don't have the experience of both, will just confuse you.

So which language are you really trying to learn and use, C or C++?

Regards,

Paul McKenzie
Paul, sorry for the confusion - The code needs to be in "C". Thank you for your help.