Skip to content
Simple 2D vector example from class
C++ CMake
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CMakeLists.txt
README.md
main.cpp
vec2d.cpp
vec2d.h

README.md

Simple 2D vector library

Author: Joshua Levine Email: josh@email.arizona.edu

This includes the sample code we built in class on Sept. 12 for testing out constructing complex types as C++ objects. We covered class constructors, passing by reference, copy constructors vs. assignment operators, arithmetic operators, and stream insertion.

Files:

  • vec2d.* includes the class declaration and definition.
  • main.cpp includes some code that test's out the features of vec2d.
You can’t perform that action at this time.