课程: Complete Guide to C++ Programming Foundations
免费学习该课程!
今天就开通帐号,24,100 门业界名师课程任您挑!
Header and implementation files - C++教程
课程: Complete Guide to C++ Programming Foundations
Header and implementation files
- [Presenter] It's time to talk about Source and Heather files. But before we do, let me show you how your source code gets compiled into an executable file. This process is performed by a compiler tool chain, which is a pipeline of software tools your code goes through to ultimately produce that executable file. To illustrate how a compiler works, I want to show you three different forms of inputs you may feed to the compiler tool chain in a single software development project. The first case is when you write your C++ source files. Then you feed those files to the compiler, which is the first big program the code goes through. The compiler translates your C++ code into assembly language, which is a human readable version of the native language of the target CPU. So, a new file with assembly code is created. This file is fed to a second program known as the assembler. The assembler produces a so-called object file, which is almost executable, but it may contain just pieces of the…
内容
-
-
-
-
-
-
-
-
-
(已锁定)
Overview of classes and objects5 分钟 13 秒
-
(已锁定)
Data members3 分钟 1 秒
-
(已锁定)
Function members8 分钟 8 秒
-
(已锁定)
Constructors and destructors5 分钟 15 秒
-
(已锁定)
Using classes2 分钟 26 秒
-
(已锁定)
Header and implementation files4 分钟 23 秒
-
(已锁定)
Working with several source files7 分钟 8 秒
-
(已锁定)
Operator overload4 分钟 46 秒
-
(已锁定)
Solution: Create a person class2 分钟 22 秒
-
(已锁定)
-
-
-