Search:

Type: Posts; User: Syndacate

Page 1 of 8 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    14
    Views
    1,270

    I see. Yeah, they have to be made eventually I...

    I see. Yeah, they have to be made eventually I guess, and whatever they choose won't please everybody!



    It sounds like writing code that is truly byte independent is rather difficult,...
  2. Replies
    14
    Views
    1,270

    The reason I'd like to avoid network conversions...

    The reason I'd like to avoid network conversions is simply that I'd rather not have dependencies on socket libraries. Though as you pointed out, I can just write my own. I figured more-so that...
  3. Replies
    14
    Views
    1,270

    Standards, not architecture. Stream specs, to be...

    Standards, not architecture. Stream specs, to be specific. Don't worry, though, that was more of a rant than anything else.



    In the 'real world' I write code that couldn't get much more...
  4. Replies
    14
    Views
    1,270

    I didn't mean it as an equal sign is 'right' - I...

    I didn't mean it as an equal sign is 'right' - I meant that will memcpy (or similar) do anything that an equal sign won't do when dealing with 16 bits? The buffer fullness is verified prior, so I...
  5. Replies
    14
    Views
    1,270

    Can't change the buffer format, world has...

    Can't change the buffer format, world has standards it runs on >.<. As I said, this isn't the first time this happened, why the hell does most of the 'sane' world (I use the term loosely, haha) all...
  6. Replies
    14
    Views
    1,270

    Maybe I should elaborate, this is pointing to a...

    Maybe I should elaborate, this is pointing to a value in a bitstream buffer, so I need a method of capturing bits. If I need say, 13 bits, I'm using this method to grap the next 16, then masking...
  7. Replies
    14
    Views
    1,270

    Byte Ordering Question

    Hey,

    Was hoping some of you guys who know more about bit twiddling could shed some light, I just ran into this problem with a piece of code I'm working on, and I've seen it somewhere else too.
    ...
  8. 2D Ball Collision (velocity vector calculation)

    Hey,

    I'm working on a project for one of my classes - while the part I'm stuck on isn't centric to the project, it is indeed a part, which is why I'm telling you about it initially.

    In said...
  9. Replies
    3
    Views
    1,093

    Gah, I think that was it. I added a clean step...

    Gah, I think that was it. I added a clean step to my build and it's running fine now, I think. Probably an old version of window.o (didn't post that here), though it really doesn't reference...
  10. Replies
    3
    Views
    1,093

    Weird Crash Error

    So I'm using QT and basically making a full size OpenGL widget.

    I'm getting this weird ass error when I right click or expand the screen (I think it's happening when it has to redraw). I don't...
  11. Replies
    10
    Views
    6,405

    Ha, not expecting it to be interesting, but...

    Ha, not expecting it to be interesting, but you're pretty much guaranteed to learn tid-bits you didn't know about the language.



    Ah, good :). Thanks!
  12. Replies
    10
    Views
    6,405

    Ha, I'll take your word for it :). I have to...

    Ha, I'll take your word for it :).

    I have to get around to reading the whole draft spec when I get some free time - I'll save it until then ^_^.

    Besides, only half the battle is it being in the...
  13. Replies
    10
    Views
    6,405

    Haha, happens :). Just wanted to make sure it...

    Haha, happens :).

    Just wanted to make sure it was reliable.

    Thanks, guys, especially for the instantaneous replies, lol.
  14. Replies
    10
    Views
    6,405

    How would it be not guaranteed but still safe? ...

    How would it be not guaranteed but still safe? If 'my_struct' is a pointer, and short circuiting isn't guaranteed, then there's a chance of dereferencing a NULL pointer.



    You're saying that...
  15. Replies
    10
    Views
    6,405

    Does C guarantee short circuit evaluation?

    As the title says..I know C++/Java do IIRC, but does C?

    ie. safe practice?

    if (!my_struct || !my_struct->my_ptr);
  16. Thread: Assignment

    by Syndacate
    Replies
    8
    Views
    1,110

    Wow, I saw that, but assumed they were given the...

    Wow, I saw that, but assumed they were given the assignment BEFORE the class, and he was preparing.. Guess that was a pretty crappy assumption on my part. Don't know why, but the fact that he was...
  17. Thread: Assignment

    by Syndacate
    Replies
    8
    Views
    1,110

    I just briefly (~20 seconds) looked at the...

    I just briefly (~20 seconds) looked at the assignment.

    Few things jumped out at me.

    Console.WriteLine - that's a C# function IIRC, it also mentions "methods" - methods are a C#/Java thing, the...
  18. True, I simply meant that sometimes you really...

    True, I simply meant that sometimes you really got to reflect on whether the prerequisite is worth the $.

    Op also said this:


    It sounds like the counselor was a dream shooter I was talking...
  19. Replies
    10
    Views
    1,892

    That's not very nice :-\. The like button...

    That's not very nice :-\.

    The like button exists for a reason - there's a reason stack overflow makes an epic resource - the best answers are thumb-upped - agreed upon by others.

    I think he can...
  20. Thread: Assignment

    by Syndacate
    Replies
    8
    Views
    1,110

    To elaborate on what Fordy is saying: What...

    To elaborate on what Fordy is saying:

    What have you done this far?

    What code have you written?

    What ideas have you come up with?

    Nobody here is willing to help if you're not looking to...
  21. I understand, and agree for the most part...but...

    I understand, and agree for the most part...but have you seen the rates for classes from private unis? I mean I know he said he's going to a CC, so it should be cheaper, but still.

    One of the...
  22. I'm not sure I can agree with either the...

    I'm not sure I can agree with either the response, nor your counselor.

    Sometimes courses have a prerequisite for a reason...other times not so much.

    Being in a CS MS program, people are like...
  23. Replies
    52
    Views
    5,494

    Ah, didn't know they had examples in the SDK O.O!...

    Ah, didn't know they had examples in the SDK O.O! Typically, after looking at the MSDN docs, I just google examples, and they're typically common enough that it comes right up.



    Yeah, I just...
  24. Replies
    52
    Views
    5,494

    Yeah, pretty rarely am I *not* able to find stuff...

    Yeah, pretty rarely am I *not* able to find stuff on the MSDN documentation, though I suppose you're right. On the flipside, wrapping a typedef of a pointer in another typedef is just pointless,...
  25. Replies
    16
    Views
    2,335

    True, and I guess there's no reason it *wouldn't*...

    True, and I guess there's no reason it *wouldn't* have a new line directly following it...but unless you can trust the data to be clean, meh :-\. If you wrote the program, or it says it in the...
Results 1 to 25 of 198
Page 1 of 8 1 2 3 4