User:Megan Hoogenboom/assignment4
< User:Megan Hoogenboom
Revision as of 01:19, 9 November 2010 by Megan Hoogenboom (talk | contribs) (Created page with "== Finding text and replacing == <source lang=C> #include "stdio.h" #include "string.h" #include "ctype.h" void main() { char a = 'a'; if (ispunct(a)) { printf("...")
Finding text and replacing
#include "stdio.h"
#include "string.h"
#include "ctype.h"
void main() {
char a = 'a';
if (ispunct(a)) {
printf("CHAR\n");
}
else {
printf("NOCHAR\n");
}
printf("\n");
}