Running c++ code in xubuntu

1. First question, I want to use control keys to end my program but don't know how to code it. ex. Pressing ctrl + v will end the program.

2. I want to put each function in a separate file. How do I go about in calling each file? Do I make a shell script?

2. I want to put each function in a separate file. How do I go about in calling each file? Do I make a shell script?


You don't call files. You call functions. Every file gets turned into a binary object, and then all the binary objects get put together into the same executable.
Topic archived. No new replies allowed.