title: Is it bad practice to define functions in main.cpp rather than in header files?
body: <p>Is it bad practice to define functions in the file containing the main function rather than header files and their corresponding .cpp file? What I currently do is declare my function prototypes at the beginning of the file before the main function and then define the functions at the end after the end of my main function. Would an employer consider this to be noobish?</p>