here are some questions that i have to improve my code readability
since i study alone and my code starts to be more big and more chaotic
i have some questions that maybe will sound silly to more but i have to ask someone.
1- its better to declare global only the constant variables?
2- should i create manyyyyy functions small and do simple small tasks each one?
3- should i let functions take many arguments like that:
void diagonalDownLeft(int[][size],int[][size],int,int,int&,bool,int);
if not how i can not do it?
4- comments!where i should put them?right of each line?or at top of a function or loop?do i need to comment everything?i tried at right of each line and was too messed with many comments :P
5- should i make more programs in classes for practice?
6- what is the most preferable spacing and indent to look less chaotic?
i will put in this thread more questions when i have them :D