⑴ C++使用指針法將一個字元串中的某一個指定字元刪除掉
#include<iostream>voiddel_char(char*str,charc){char*p=str,*q=str;for(;*q!='