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,...
Type: Posts; User: Syndacate
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,...
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...
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...
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...
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...
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...
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.
...
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...
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...
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...
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!
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...
Haha, happens :).
Just wanted to make sure it was reliable.
Thanks, guys, especially for the instantaneous replies, lol.
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...
As the title says..I know C++/Java do IIRC, but does C?
ie. safe practice?
if (!my_struct || !my_struct->my_ptr);
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...
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...
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...
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...
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...
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...
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...
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...
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,...
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...