Change Photo
Morris Thompson

Questions by Morris Thompson

How to divide a circle into 12 equal parts with color using css3/javascript?

HTML: <?xml version="1.0" encoding="utf-8"?> <html> <head> <title>Circle</title&gt...

calculate orientation when rotating around circle?

I've recently run into a mild problem when trying to program a class that holds multiple sprites with SFML. I have ...

g++ undefined reference to typeinfo?

I just ran across the following error (and found the solution online, but it's not present in Stack Overflow): (...

'list' object has no attribute 'shape'?

how to create an array to numpy array? def test(X, N): [n,T] = X.shape print "n : ", n print "T : ", T ...

Spring webflow 1.0 - Downloading a file?

I am using spring webflow 1.0. I am uploading a csv file, parsing it, and displying results before proceeding. The u...

Linking to a URL that changes daily??

I am trying to link to a website that changes daily... The URL is http://www.lwcb.ca/waterflowdata.html and the lin...

error C2059: syntax error :'}' when adding c source files to project?

I'm writing a C++ application in visual studio express for windows phone 8. I'm trying to use flite, a text to spee...

Inconsistent Accessibility: Parameter type is less accessible than method?

I'm trying to pass an object (a reference to the currently logged on user, basically) between two forms. At the mom...

Difference between **ptr and &ptr?

According to my knowledge **ptr = the address of memory location of the pointer variable ptr &ptr = the addres...