restructured
This commit is contained in:
parent
c495b7c47f
commit
66cefdfd63
204 changed files with 538 additions and 13662 deletions
11
seminar01_overload/02_cubev/cubev.cpp
Normal file
11
seminar01_overload/02_cubev/cubev.cpp
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#include <iostream>
|
||||
using std::cout, std::endl;
|
||||
|
||||
int cubeV(int x) {
|
||||
return x * x * x;
|
||||
}
|
||||
|
||||
int main() {
|
||||
int x = 3;
|
||||
cout << cubeV(x) << endl;
|
||||
}
|
||||
Reference in a new issue