Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 08 / NVector / Source.cpp
diff options
context:
space:
mode:
Commit59e4b1ceae07abb45195f79bebceee9e995868fa (patch)
Author
 Angel Dimitriev <angel_dimitriev@abv.bg>
2022-04-12 19:33:45 +0300
Committer
 GitHub <noreply@github.com>
2022-04-12 19:33:45 +0300
Files32e269ff531af75cdf99043713208279a09cc77c /Sem. 08/NVector/Source.cpp
Object-oriented_programming_FMI-59e4b1ceae07abb45195f79bebceee9e995868fa.tar
Object-oriented_programming_FMI-59e4b1ceae07abb45195f79bebceee9e995868fa.tar.gz
Object-oriented_programming_FMI-59e4b1ceae07abb45195f79bebceee9e995868fa.zip
Parent057f91a3109324cbbbb6314ea7a8c52e9fc74fe2 (diff)
Create Source.cpp
1 files changed, 16 insertions, 0 deletions
-rw-r--r--Sem. 08/NVector/Source.cpp16
diff --git a/Sem. 08/NVector/Source.cpp b/Sem. 08/NVector/Source.cpp
new file mode 100644
index 0000000..d9ad0b6
--- /dev/null
+++ b/Sem. 08/NVector/Source.cpp
@@ -0,0 +1,16 @@
+#include <iostream>
+#include <fstream>
+#include "Nvector.h"
+
+using namespace std;
+
+
+
+int main()
+{
+ Nvector v(3);
+ v[2] = 10;
+ Nvector v2 = 3 * v;
+ cout << v2;
+
+}