I am attempting to compile the example of a windows app from the tutorial on this site, but I keep getting a [linker error] undefined reference on functions SetTextColor, TextOut, and GetStockObject.
I think maybe this is because I don't #include <stdafx.h> but when I do it says I don't have four other header files (afxwin, afxext, afxcmn, and d3drmwin).
I am using Dev-C++ and it didn't come with the stdafx header, I got that one from a source code I downloaded.
So my question is, what compiler does come with all of these, or where can I find them? (I don't want to spend so much money on visual C++ just yet).
I am very new to this, and any help is appreciated.