Skip to content

Instantly share code, notes, and snippets.

View djmunro's full-sized avatar

David Munro djmunro

View GitHub Profile
def print_grid(tuple, data):
t1 = max([len(str(x[t])) for x in data])
print_grid(('Function', 'Occurences' 'Sender'), [(x['function'], x['sender']) for x in messages if 'function' in x])
import re
import sys
import json
import itertools
from collections import Counter
from collections import defaultdict
SIGNALS = []
METHOD_CALLS = []
1>arbtriangleinstrument.obj : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall ArbTriangleInstrument::metaObject(void)const " (?metaObject@ArbTriangleInstrument@@UBEPBUQMetaObject@@XZ)
1>arbtriangleinstrument.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall ArbTriangleInstrument::qt_metacast(char const *)" (?qt_metacast@ArbTriangleInstrument@@UAEPAXPBD@Z)
1>arbtriangleinstrument.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall ArbTriangleInstrument::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@ArbTriangleInstrument@@UAEHW4Call@QMetaObject@@HPAPAX@Z)
1>C:\Users\dave\Desktop\CR2\bin\Debug\easypaint.exe : fatal error LNK1120: 3 unresolved externals
@djmunro
djmunro / main.cpp
Created January 22, 2013 18:41
2110 LAB1
#include <iostream>
#include <string>
using namespace std;
int main()
{
/*
//PART A
// A)
double var_1 = 20.25;
function main()
Problem1()
Problem2()
Problem3()
end
function Problem1()
number = 0;