Cool Thanks for sharing that info .... I guess I need to break out of my bad habit of having a program all contained in a single cpp file. The program i have has become massive as i had been building on it off and on for the last 3 years picking away at it adding more and more functionality and complexity to it.
I didnt know that Visual Studio had this mouse over feature to show which function it detects is to be closed at the brace location. I have been using Bloodshed Dev C++ 4.9.9.2 IDE because its lightweight and small install. Its obsolete, but works, but perhaps maybe I should move on to Visual Studio C++ Express.
Going to work on splitting this up to make it more manageable. Given that I am the only one that works with my code I generally make it all in a single .cpp etc and once a project is done its almost never revised since it does what was intended and doesnt need to do more, but spitting it up for this project makes sense as for I have more stuff to add to it and I will be able to target functions directly vs having to search for them in 22 or more pages.
Most projects are a small program to do something and there is no revisions, they are just quick console apps. This project though is one that I have been messing with off and on for the last 3 years and I guess should really be treated and structured as a project to make it more manageable even if just my self would ever be looking at the source code. It started off with 2 main features and that has grown to 5 features, soon to have 6 once I can code without distractions and be in the coding mindset as for I need to be free of distractions otherwise I hit walls in programming vs charging through with it to success. Its almost like i have to warm my brain up to programming and then charge full steam ahead when i do it without distractions otherwise I lose track of what is what and why, especially since I use abstract methods that I even confuse myself sometimes when looking back after not looking at my code for a while as to why I did that etc. Perhaps better structuring will remove this problem as for I wont have to think about so much and can focus on just the functions at the function level as blocks vs looking at it as a whole which is massive and can be sort of overwhelming to follow at times.
Back in college, the professor didnt pick at structure and organization. It was mainly that you know what each thing did, could debug others code as well as write your own, and length of programs in a single .cpp file wasnt a problem. As long as the program did as intended you were scored mainly on it doing as intended. Points were removed if you made redundant functions vs reuse, and commenting was requested but not required. He would test your code to make sure you protected it from say someone entering letters or characters at a input that is requesting a value to teach testing of user input etc. But that was pretty much it. Starting to think maybe my teacher was laid back and i should have had one that focused on better structure and management to make something pretty vs something cluttered.