0
Space Checker
https://code.sololearn.com/cLr91X16JMb3/?ref=app How do i write it correctly(so program can check if there is a " " in your input)
2 Antworten
+ 4
If I have understood you correctly you are asking to check for a space in string in a better way? If that's the case, there's another way to to check for space.
You can use isspace() function included in the cctype library.
For more information visit this link:
http://www.cplusplus.com/reference/cctype/isspace/
+ 1
nautaxh thanks, that is exactly what i want😊