Initial commit. Only letters work\!
This commit is contained in:
commit
8a446ba22a
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
a.out
|
||||
*~
|
||||
#*
|
19
main.cpp
Normal file
19
main.cpp
Normal file
@ -0,0 +1,19 @@
|
||||
#include <iostream>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
if(argc < 2)
|
||||
{
|
||||
std::cout << "You must provide SOMETHING." << std::endl;
|
||||
return -1;
|
||||
}
|
||||
|
||||
std::cout << ":large_blue_diamond: ";
|
||||
for(auto i = 1; i < argc; ++i)
|
||||
{
|
||||
for(auto j = 0; argv[i][j] != '\0'; ++j)
|
||||
std::cout << ":regional_indicator_" << char(std::tolower(argv[i][j])) << ": ";
|
||||
std::cout << ":large_blue_diamond: ";
|
||||
}
|
||||
std::cout << std::endl;
|
||||
}
|
Loading…
Reference in New Issue
Block a user