Skip to content

Instantly share code, notes, and snippets.

View MatthewThePham's full-sized avatar

Matthew Pham MatthewThePham

View GitHub Profile
@MatthewThePham
MatthewThePham / main.cpp
Created March 19, 2019 04:38
cpp function dereferencing example
//basic passing by reference example using vectors (using &)
//more info
//https://www.geeksforgeeks.org/passing-by-pointer-vs-passing-by-reference-in-c/
#include <iostream>
#include <vector>
using namespace std;
void temp( vector<string> * temp);