Viewer Mail #2

I received an email a couple days ago and I have been trying to figure out how to approach it, until now.

Hey man,

I am new to coding, obviously, and I love your tutorials on hl2, but I have this distinct feeling that I’m missing something. I coded in VB for a while and it was a lot of fun to see what I was able to do with a few nouns and verbs, talk about words in action, but there was something that has always blown my mind, and I figured I would bounce it off of you. So here goes bro.

When I was in class a couple nights ago we went over random access files, which are neat in their own right, but since I ran into that I have been trying to figure out a file type to use for my own application. The values are going to have to be user editable/readable, but what are some of the options for it?

Thanks a bunch and keep up the good work!

Continue reading “Viewer Mail #2”

Inline Functions

I am turning a lab in tonight that handles two very shady topics that have been only lightly touched upon in my previous classes: Bit manipulation and inline functions. Each deserves its own article because they are both complicated in their own right.

Bit manipulation is the process of manipulating bits. For those of you who are not IT inclined as of yet, a bit is a switch and every data type is made up of them. There are only bits in your computer, no such thing as an int, or char pointer, everything is a bit. The emphasis here is that everything is a bit and I cannot stress that more.

Continue reading “Inline Functions”