second home

Jun 10, 2006 20:02

        Well I feel like the computer labs in Thornborough have become my second home, I'm posting from there right now, it seems that if im not at work or in class I'm in the lab. Occasionally I do go home to sleep but thats about it. It is wreaking havok(sp on purpose not as a pun but just as a reference since X3 is so recent, anyways) on my diet ( Read more... )

arrrrg

Leave a comment

Comments 9

mglizak June 11 2006, 06:07:54 UTC
Ouch. That's messy. Isn't there a nicer way to do the list being contiguous?
Is this for an assignment, or for the real world?

Reply

thordar June 11 2006, 13:45:29 UTC
this is for an assignment

Our prof has explained 2 ways of making a contiguous list
1. an array where each element has a next and previous int that refer to nodes in the array.
2. an array with each element in order in the array, and when you insert or delete an element you move every element after it up or down one node.

I chose the second method as it seemed easyer to code the functions.

Reply


babsthecommie June 11 2006, 14:06:21 UTC
I would agree that right now your ipod case would look rather stange wiht a celtic design on it. What you might be able to do, depending on how the case is constructed, if actually pull out some of the stitching and remove the red strip. As for how to mark it with your own design, i highly doubt cutting or scoring would work becuase polyeurathane is so thin. The cuts would go right through the first layer, and the next layer would just show through. I think it would end up looking like someone had slashed it to bits. Personally, i think you should give burning more though. Yes, you will be melting some parts of the case, but thats what you want becuase the melting will change the texture and make the design stand out. You might want to practice that on something first though. THe only other option that i can think of would be to sstitch the pattern in with some serious embrodiery thread and a tapastry needle. That way you would have the most control over how the pattern turned out, and you would be able to pick your own colours. ( ... )

Reply

thordar June 11 2006, 14:22:13 UTC
Well, actully the design goes beside the strip and I think that looks fine its less celtic and more tribal. I was talking about was gold or silver colours in terms of how it looks. The thing I'm woried about with burning is getting it to hot and doing serious damamge like burning through it, or not hot enough and having to do it multiple times and ending up with a "shadow". Although burning may work for an idea I have had for the brim of my hat. Thanks for the idea, now I just have to think of a way to exitcute it. If I were to stich the pattern in I would first have to pull all the stiching out around the edge and pull up the top layer. That seems like a lot of work but it is a possibility(aside from the fact that I'm not great at embroidery).

Reply

thordar June 11 2006, 14:34:46 UTC
Oh yea guess what babs, we're gonna have bannana boats on the BBQ, i got everything the other day mini marshmellows, chochlate chips and bananas, am I missing anything? I can't remember

Reply

babsthecommie June 11 2006, 17:23:56 UTC
I would recomend chocolate syrup or some form of syrup... other than that i think your good... have one for meeee

Reply


katastraphy June 11 2006, 23:28:20 UTC
About the code:

A) Calloc'ing inside an if statement is bad style. =( Makes it harder to read.

B) Are you sure the problem isn't just the new.element things? I find sometimes switching them to new->element, or new->(*element) or something solves that. Maybe I just don't understand the problem.

Reply

thordar June 12 2006, 08:04:50 UTC
I find that callocing inside the if statement makes it easyer to read, you can just look at the calloc statement and ignore the "if" then it just takes another error checking if out of your code

Reply

pgo17 June 12 2006, 20:41:35 UTC
I actually like the calloc line, cause I like compressed code, but I have a feeling that the problem is a linking issue. There are a lot of those issues when working on the first project for a course. So make sure your makefile complies the code into object files first, then links them into an executable. If it does do this already, well goodluck.

Reply


Leave a comment

Up