Original Post
I'm currently learning OpenGL from an Ebook, but came across a problem when trying to compile some code. It highlights my PIXELFORMATDESCRIPTOR pfd and claims that "ISO C++ forbids declaration of pfd with no type". At first I thought it was a typo but after copying the source right out of the book and trying it with the downloaded source nothing works. Oh Yeah, I'm using Dev-C++, it's in a class declaration, and it's the only thing wrong in the compiler. Thanks in advance!