url : https://www.youtube.com/watch?v=18c3MTX0PK0&list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb&ab_channel=TheCherno
Each project in solution can be executable or library
visual studio new add new cpp file : [ctrl + shift + A]
source file → executable binaries / libraries
operators are just fuctions
every cpp file compiles individually into obj files → stich together with linkers into one exe
just compile this cpp file : [f7] Only Compilation happens, no Linking
Compilers : convert all the code into constant data & instructions
in C++ unlike java, there is no such thing as a file.
file is just a way to feed compiler with source code. Your responsible for telling kind of file type and how should compiler treat that
this does not produce .obj file