ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
Last change
on this file since 8bbdfdd was 8bbdfdd, checked in by Dmitry Kobets <dkobets@…>, 6 years ago |
|
initial commit
|
-
Property mode
set to
100644
|
|
File size:
151 bytes
|
| Line | |
|---|
| 1 | #include <fstream.hfa>
|
|---|
| 2 | #include <vector.hfa>
|
|---|
| 3 |
|
|---|
| 4 | int main() {
|
|---|
| 5 | vec2 v1 = {1,2};
|
|---|
| 6 | sout | length(v1);
|
|---|
| 7 |
|
|---|
| 8 | vec2 v2 = {1,2};
|
|---|
| 9 | sout | dot(v1, v2);
|
|---|
| 10 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.