I'm trying to write a program which reads in text through input redirection, calls a censor function which censors out a user-defined word, and then outputs the censored text. Is there anyway to do this without using <string.h> and <afx.h> functions? Thanks is advance.