system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: Difference between functions and procedures in C++?

Is it okay to say that in C++ all procedures are void, and all the rest (whatever returns a value) is a function?
gpt
Procedures and functions are pretty much interchangeable terms. The proper C++ terminology is "function", and the term "procedure" isn't used (a function which has a void return type is still a function).

Other languages (like Pascal) differentiate between procedure and function, just like you asked.