Again an incomplete question. 
What I interpreted is that you want to eat some punctuation characters from the array of characters provided to you by the user. You can define a function like below to do that. I am assuming you only want to delete one character, although you can modify the code easily to delete all punctuation characters.
Code:
void eatchar(char* arr,char ch) {
int i = 0, j = 0; // to and from indexes
while(*(arr + i) = *(arr + j++)) {
if(*(arr + i) != ch) ++i;
}
}
while(true)
cout<<"C++ is divine\n";
Feroz Zahid