It is impossible for you to win this argument with me, so stop trying, because it's not even an argument. It's a fact: That is C++.
Remember in school when they explained true and false questions to you? If any part of it is false, the whole statement is false. If any part of that is C++, all of it is C++.
But just to humor you:
This is C++. Technically it could be C99, but this style of comment originated with C++, that makes it more C++ than C.
// This will CAP the first letter of a single word
C++ has pointers, and char, so does C. This can go either ay, so we will ignore it.
char *CAP_WORD(char *txt)
That is completely C++.That could be either, so we will ignore it.That's C++ because you are using an overloaded assignment operator to be able to assign to that string class.
std::string rt = "";
That cast is purely C++, so is the method for the class you are invoking. While technically you could have a function pointer as part of a structure, you and I both know that is C++.
txt2 = const_cast<char*>(rt.c_str());
That could be either.
*txt2 = (((*txt2)>='a' && (*txt2) <= 'z') ? ((*txt2)+('A'-'a')) : (*txt2));
I'm assuming you are saying that is C, even though standard C doesn't have _strdup.
Anyway, as I've pointed out, that is C++. You win no part of this argument, stop trying.