I have a brief 2 part question:
I am a recent graduate of a newer Information tech program.
During the course of my 3 year curriculum we used Java/c#/PHP/JS (as you can see,
the highest level programming languages) for developing our solutions.
I have been porting to c++ to have better access to kernel and system level
operations and hardware accessibility.
Part 1 of my question is:
Can I structure my solutions in c++ using the same methodology as I do in
Java/C# (with classes) performing object related functions and reduce coupling of my code.
I have noticed that c++ uses classes and or structs. Many web examples and
book examples of the usage of classes declare them before the int main(void) function.
So is it wrong to have a structure using header files like class
files .cs (c#) files or .java(JAVA) files.
I hope someone can address this question. Thank you!