zacharyc
This is the website of zachary cohen (zacharyc). For information on the author check out the About page.
This is the website of zachary cohen (zacharyc). For information on the author check out the About page.
While I have still yet to write the long overdue post, I have moved from my NYC apartment to the west coast, California, specifically. With this, I terminated my ConEd account. Now, in the process of setting up my account I had hooked direct pay up to a bank account I almost never put money in and it just turned out that balance in that account was not enough to clear my last ConEd Payment. ...
I turned 25 years old yesterday, and I’m really having issues coming to grasps with the fact that I’m a quarter of a century old. Also, according some stupid source I read when I was younger, male gymnasts reach their physical peak around 24, so its all down hill for me from here in terms of my gymnastics. That being said, I would have to say that my 25th birthday was rather amazing (except for one minor note that I will mention below). I up early and played some sports with my roommate before work. I’m realizing that it is taking more for me to stay in shape these days, so I’m looking for any and all reasons to work out. ...
When I started this post, it was going to be a revolutionary post, talking about something that was really bothering me. As I have spent more time thinking about this, the answer seems so simple and obvious, still there was a time where I did not get this concept, so I here is a brief post on the topic, The question is, in straight C, will this work: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 #include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct point_t { int x,y; } Point; int main(int argc, char **argv) { Point a,b; int c[4] = {1, 2, 3, 4}; b = c; printf("b(%p) is now b[x] = %d, b[y] = %dn", &b, b.x, b.y); return 0; } In C++ this works no problem. Structs are teated like classes where all members have public scope. Assigning one struct to another simple implements the copy constructor that is created by the C++ language, but what about straight C? ...
Last weekend I was “dragged” by some friends up to Lake Tahoe for some fun in the snow. So, I’m not as much of an ace as I thought I’d be, but I had a good time, and I hope to get better. It was a good time and I was with some good friends, and I wish I had a photo of all of us together, but I don’t. (Even though a few of my friends, who will remain nameless, managed to bring me down a double black on my second day of snowboarding in 2 years). ...
Yesterday I attended a cheerleading competition in San Jose put on by an organization known as GSSA 1Spirit. It was the first time I’ve actually been spectating at an All Star competition in quite a while. I watched about seven hours of cheerleading and was quite impressed by some of the west coast teams, especially some of the tumbling which is not as strong back in CT. I have one global comment that I need to make. We need to push cheerleading competition etiquette. Seriously people, we are all there to watch the sport, but I feel that people get so concerned with seeing their team compete, that they forget that there are tons of other parents, coaches and cheerleaders looking to watch the competition. Here are my general suggestions: ...