Can anyone recommend the best way to validate text input from an ascii file?
Each line of my input file is expected to be:
Some Text \t Some Text \t Some Text\n
However, if the program encounters a line with only whitespace, an exception is raised.
Here is a code snippet (without any...
I'm trying to delete all instances of . , ' ( ) in a string
char *mystring
I'm not sure how to do this - the compiler won't let me substitute with an empy string. (i.e., mystring[0] = ''; doesn't work).
Is tokenization and concatenation the way to go or is there a simpler function I am...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.