C++ linker presentation
This commit is contained in:
9
cpplinker/02_symbol_resolution/main.cpp
Normal file
9
cpplinker/02_symbol_resolution/main.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include <iostream>
|
||||
|
||||
double square(double);
|
||||
|
||||
int main() {
|
||||
double r = square(5.0);
|
||||
std::cout << "square(5.0) = " << r << "\n";
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user