Skip to content

Instantly share code, notes, and snippets.

View Ajetski's full-sized avatar
🚲
bikes are cool

Adam Jeniski Ajetski

🚲
bikes are cool
  • Flashtalking/Mediaocean
  • USA
  • 11:36 (UTC -04:00)
View GitHub Profile
echo "getting data..."
sed -r '
s/"/\\"/g
s/\\n/\\\\n/g
s/^#include.*\.h.*$//g
s/^#include.*\.cpp.*$//g
s/\t/ /g
' src/RecursiveDescent.cpp > RecursiveDescentCPP.template
@Ajetski
Ajetski / test.cpp
Last active November 19, 2019 23:19
A gist for a small code snippet that needs improvement
#include <iostream>
using namespace std;
class Test {
public:
Test();
int& operator[](const int& index);
const int& operator[](const int& index) const;
private: