Hey, yo! Evanston-area HTML-capable readers!
Seabury is looking for part-time (low-cost, naturally) help for website maintenance: updating links, adding copy, correcting typos, light-weight non-design tasks. If you need a few dollars for webby odd jobs, or if you know someone who might, please email me.
Posted by AKMA at October 21, 2003 12:32 PM | TrackBackForwarded to a friend who is underemployed. This isn't his focus (he's more a perl/java developer), but it is in his skillset...
Posted by: Eric Sinclair at October 22, 2003 06:06 AMI would be interested in the part-time position. I am programmer and web developer. However, I realize that low cost is an issues and as such I would not be charging you the rate I would for regular programming work.
Posted by: Sean D. Murray at October 22, 2003 03:12 PMHi there. Dave forwarded this post to me. I'm interested and would like more info. Thanks!
Posted by: Miri at October 28, 2003 08:58 AMNote first that favoriteNumbers type changed. Instead of our familiar int, we're now using int*. The asterisk here is an operator, which is often called the "star operator". You will remember that we also use an asterisk as a sign for multiplication. The positioning of the asterisk changes its meaning. This operator effectively means "this is a pointer". Here it says that favoriteNumber will be not an int but a pointer to an int. And instead of simply going on to say what we're putting in that int, we have to take an extra step and create the space, which is what does. This function takes an argument that specifies how much space you need and then returns a pointer to that space. We've passed it the result of another function, , which we pass int, a type. In reality, is a macro, but for now we don't have to care: all we need to know is that it tells us the size of whatever we gave it, in this case an int. So when is done, it gives us an address in the heap where we can put an integer. It is important to remember that the data is stored in the heap, while the address of that data is stored in a pointer on the stack.
Posted by: Ottewell at January 12, 2004 10:15 PMThis is another function provided for dealing with the heap. After you've created some space in the Heap, it's yours until you let go of it. When your program is done using it, you have to explicitly tell the computer that you don't need it anymore or the computer will save it for your future use (or until your program quits, when it knows you won't be needing the memory anymore). The call to simply tells the computer that you had this space, but you're done and the memory can be freed for use by something else later on.
Posted by: Cesar at January 12, 2004 10:15 PMThis will allow us to use a few functions we didn't have access to before. These lines are still a mystery for now, but we'll explain them soon. Now we'll start working within the main function, where favoriteNumber is declared and used. The first thing we need to do is change how we declare the variable. Instead of
Posted by: Phillipa at January 12, 2004 10:16 PMThe most basic duality that exists with variables is how the programmer sees them in a totally different way than the computer does. When you're typing away in Project Builder, your variables are normal words smashed together, like software titles from the 80s. You deal with them on this level, moving them around and passing them back and forth.
Posted by: Theodosius at January 13, 2004 09:14 AMThis is another function provided for dealing with the heap. After you've created some space in the Heap, it's yours until you let go of it. When your program is done using it, you have to explicitly tell the computer that you don't need it anymore or the computer will save it for your future use (or until your program quits, when it knows you won't be needing the memory anymore). The call to simply tells the computer that you had this space, but you're done and the memory can be freed for use by something else later on.
Posted by: Warham at January 13, 2004 09:15 AM