d07 ex01 ok
This commit is contained in:
14
d07/ex01/headers/ToUpper.hpp
Normal file
14
d07/ex01/headers/ToUpper.hpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef TOUPPER_HPP
|
||||
# define TOUPPER_HPP
|
||||
|
||||
# include <iostream>
|
||||
# include <string>
|
||||
# include <cctype>
|
||||
|
||||
template< typename T >
|
||||
void ToUpper(T & e) {
|
||||
e = toupper(e);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user