Subscribe to Stuck in an Infiniteloop

## Introduction to Lua - Part III

Coming Soon to an "Other Languages" Tutorial Section Near You! Tutorial here

Introduction to Lua - Part III

This tutorial requires you to have a somewhat firm grasp on basic Lua concepts (variables, how to run Lua, etc...), for complete information please read Introduction to Lua and Introduction to Lua - Part II...

## Introduction to Lua - Part II

Coming soon to an "Other Languages" tutorial section near you! Tutorial Here

Introduction to Lua - Part II

If you haven't familiarized yourself with Lua, please read: Introduction to Lua...

## Introduction to Lua

Coming Soon to an "Other Language" Tutorial Section Near You! Tutorial here

What is Lua?

From Lua's homepage, www.lua.org:

...

## Detecting Collision Between Two Spheres

This blog post is going to be more code then text as the code has plenty of comments and typing it again would be overly redundant. To determine collision between two spheres in a given time step we calculate the "next" position of each spheres and pass both of them in addition to the "current" position of the sphere to the...

## Gravitational Effects on a Particle in 3D Space

Consider a point in 3D space, i.e. a 3D vector. We have x, y, and z coordinates, however for the purposes of the following snippet, it is easier to picture a 2D graph with X and Z axes since I won't be doing any changes on the Y value.

In a video game, collision detection is very important. In fact, it makes or breaks a game. You want that...

## Passing By Reference (C++ vs. Java)

At some point, I imagine you have had the need for functions to communicate with one another. It usually takes the form of function parameters since global variables are not good programming practice. A basic version looks like:

`...`

## String Permutations in Java

I'm sure we all have had to do this at one point or another and it is especially handy in courses like Linear Algebra. A permutation is the arrangement of items within a set of data. Typically it is a string and thus the characters that comprise the string. It could also be numbers (bit matrices/parity error checking comes to mind). We want to...

## Multiple Inheritance in C++ and Java

C++
Consider the following base class:

`//base classclass Animal {protected: //derived classes get these	int age;	string name;public:	Animal() {};};`

This in and of itself is slightly worthless. In our world we have all sorts of animals with all sorts of particular quirks and abilities.

`...`

One neat thing you can do in C++ that is not present in Java is the ability to overload operators like * / + - % ^ & | ! , = < > <= >= ++ -- << >> == != && || *= /= %= ^= &= |= += -= <<= >>= -> ->* [] () new delete.

Here, I'll go over a few common ones: =, +...

## Technology Expo

Technology Expo

I went to a technology expo hosted on Fort Hood today and I had a pretty good time. There were over 30 various companies there ranging from IBM to an office supply dealer. I saw some very interesting (possibly "new"?) technology. Not to mention the free stuff. :-) Pens, notepads, you name it. I found it quite beneficial...

• (13 Pages)
• « First
• 9
• 10
• 11
• 12
• 13

S M T W T F S
1
2345678
9 101112131415
16171819202122
23242526272829
3031