Skip to content

Instantly share code, notes, and snippets.

View karasaj's full-sized avatar

Austin Hamilton karasaj

View GitHub Profile
@karasaj
karasaj / Instructions
Last active June 23, 2016 19:51
cpp file
Programming Quiz 1
Implement a class My_vec, see the slide 8 from the first set of the lecture notes.
See the vector example in the supplementary file
Point distribution out of 30 pt:
(3 pt) elem_at_rank
(3 pt) insert_at_rank
(3 pt) replace_at_rank
(3 pt) remove_at_rank
(3 pt) *Copy constructor
function createXHR() {
if (typeof XMLHttpRequest != 'undefined') {
return new XMLHttpRequest();
} else {
try {
return new ActiveXObject('Msxml2.XMLHTTP');
} catch (e) {
try {
return new ActiveXObject('Microsoft.XMLHTTP');
} catch (e) {