How ly-rick/cpp_practice works
This repository is a set of independent introductory C++ console programs, not one integrated application. Each executable demonstrates a small task: arithmetic, month selection, age or salary checks, counting, or socket creation. Users run a program and interact with it through the console where applicable. The excerpts show no calls between the examples; istad.cpp creates and closes a local socket but does not connect to a remote service.
Main entry points: istad.cpp Socket demo · main.cpp Arithmetic demo · chai.cpp Month selector · math.cpp Age checks
Components 11
Other components
- User
- Console I/O
- Arithmetic demo
main.cpp - Month selector
chai.cpp - Age checks
math.cpp - Salary bands
include.cpp - Age echo
haha.cpp - Counting loop
42.cpp - Loop example
bczin.cpp - Socket demo
istad.cpp - Operating system
Connections 17
- User → Arithmetic demo: runs
main.cpp - Arithmetic demo → Console I/O: writes results
main.cpp - User → Month selector: runs
chai.cpp - Month selector → Console I/O: reads and writes
chai.cpp - User → Age checks: runs
math.cpp - Age checks → Console I/O: reads and writes
math.cpp - User → Salary bands: runs
include.cpp - Salary bands → Console I/O: reads and writes
include.cpp - User → Age echo: runs
haha.cpp - Age echo → Console I/O: reads and writes
haha.cpp - User → Counting loop: runs
42.cpp - Counting loop → Console I/O: writes values
42.cpp - User → Loop example: runs
bczin.cpp - Loop example → Console I/O: writes output
bczin.cpp - User → Socket demo: runs
istad.cpp - Socket demo → Console I/O: writes status
istad.cpp - Socket demo → Operating system: creates and closes socket
istad.cpp