I am trying to convert a user input string that is supposed to a fraction into a double but it refuses to recognize the / char as a char.
Here is the function I am using to do this.
ok so I used find now (and replaced "/" with const char a =47) now it doesn't throw the exception. it just exits the program with a return value 255.
here is the modified code: