Hi All
Ive got a problem, say i have a few characters read from a file and it happens to be "<*hello*>" how would i be able to remove the characters between < & > . ? Any hints would be appreciated.
im kinda stuck at this point, not sure how to remove the characters.Code:#include <stdio.h> int main() { int ch, inbracket = 0; printf( "Enter Text File: " ); while ( (ch=getchar()) != EOF ) { if ( ch == '<' ) { if ( (ch=getchar()) == '*' ) inbracket = 1; }