50 likes | 55 Views
Visual Studio (VS) is an integrated development environment (IDE) for C++ programming that includes a powerful text editor, source-level and machine-level debugger, and many more features. Learn about source files, header files, libraries, executables, and linker jobs.
E N D
Tools of the Trade www.asyrani.com
Introduction • VS is an integrated development environment (IDE) • Includes: • Powerful Text Editor • Source-level and machine-level debugger • Many more
Source Files, Headers, and Translation Units • A program written in C++ comprised of source files • File extension = .c, .cc, .cxx, or .cpp • Source files = translation units • Special source file = header file • Header files exists as distinct files from the point of view of the programmer
Libraries, Executables, Dynamic Link Libraries • Object file (.obj) • Relocatable – meaning that the memory addresses at which the code resides have not yet been determined • Unlinked – meaning that any external resources references to functions and global data that are defined outside the translation unit have not yet been resolved • Linker job’s • To calculate the final relative addresses of all the machine code • To ensure that all external references to functions and global data