@h9uest
I added stdlib.h just in case, that didn't fix the problem (same error).
@ne555
Yes that is my only error. I purposefully kept my program small to reduce errors so I could single out what it was. :P
@Duoas
I suppose I am using GCC C++ Compilier. I am using Windows 7.
I say suppose, because I'm not 100% sure if that's what my program is using. I downloaded Eclipse and MinGW. I am writing the code in Eclipse and use MinGW GCC as a toolchain for my project.
It's too bad that what I was using doesn't support what I want, though, heh. I do have a linux computer here so I'll just get on it and use that. I just don't like having to switch monitors and stuff all the time, lol.