A simple C++ program that prints your input text alongside a cute ASCII cat!
This program takes any text you pass as command-line arguments and displays it with an adorable ASCII cat.
If no arguments are provided, it shows a helpful usage message.
Make sure you have a C++ compiler like g++ installed, then run:
makeThis will compile the main.cpp and generate the meowsay executable.
./meowsay Hello world! Hello world!
/l
(゚、 。7
l ~ヽ
じしf_,)ノ
If you run the program without any arguments:
./meowsayYou will see:
$ ./meowsay <text>
Usage: ./meowsay <text>
Description: This program takes a string as an argument and prints it with a cat ASCII art.
Example: ./meowsay Hello
This will print:
Hello
/l
(゚、 。7
l ~ヽ
じしf_,)ノ
.
├── main.cpp # Source code
├── Makefile # Build instructions
└── README.md # This documentation
- You can customize the cat ASCII art by editing the
meow()function inmain.cpp. - A great beginner project for learning how to use command-line arguments in C++.
Totally open to use, modify, and share. No restrictions — just have fun! 😺