/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* main.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: narnaud +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/06/13 08:20:39 by narnaud #+# #+# */ /* Updated: 2022/06/13 08:44:34 by narnaud ### ########.fr */ /* */ /* ************************************************************************** */ # include # include int main(int argc, char **argv) { if (argc < 2) std::cout << "* LOUD AND UNBEARABLE FEEDBACK NOISE *"; else { int i = 1; char *ret; while (i < argc) { ret = argv[i]; while (*ret) std::cout << (char)toupper(*(ret++)); i++; } } std::cout << std::endl; return (EXIT_SUCCESS); }