mirror of
https://github.com/tiennm99/HCMUT.git
synced 2026-10-15 02:16:57 +00:00
Final version
This commit is contained in:
1 parent
7a411ee67e
commit
55798289ef
3 files changed
+28
-27
No files matched your search
+1
-1
@@ -43,7 +43,7 @@ inline bool input_name(string &name) {
|
||||
}
|
||||
to_upper(s);
|
||||
for (unsigned int i = 0; i < s.length(); i++) {
|
||||
if (isalpha(s[i]) == 0) {
|
||||
if (isalpha(s[i]) == 0 && s[i] != ' ') {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user