Lots of pointer manipulation here to get rid of the spaces in our string.
Again, you can see my thought process as I correct errors. Plenty of issues once again as I debug the code.
In the next part, we'll finally be checking to see if our phone number conforms to one of the allowed patterns.
Don't worry if you are confused about this character pointer business! Pointers are confusing - I've been doing this a long time, and you can see they still give me a headache at times.
Lots of pointer manipulation here to get rid of the spaces in our string.
Again, you can see my thought process as I correct errors. Plenty of issues once again as I debug the code.
In the next part, we'll finally be checking to see if our phone number conforms to one of the allowed patterns.
Don't worry if you are confused about this character pointer business! Pointers are confusing - I've been doing this a long time, and you can see they still give me a headache at times.