Interactive C++ sum calculator built with GCC. Run with -it to provide keyboard input.
10K+
A simple interactive C++ application packaged as a Docker image.
This image demonstrates how to compile and run a C++ program inside a Docker container using the official GCC image.
docker pull mandarvade1/cpp-sum:v1.1
Since the program requires keyboard input, run the container in interactive mode.
docker run -it mandarvade1/cpp-sum:v1.1
welcome to c++ docker container
enter first number: 25
enter second number: 30
sum of 25 and 30 is:55
This image was created as part of my Docker learning journey.
Content type
Image
Digest
sha256:8e00d19ad…
Size
526.2 MB
Last updated
3 months ago
docker pull mandarvade1/cpp-sum