When I use the SetPixel function w/ dev-cpp, it gives me a linker error. The SetPixel prototype is in wingdi.h.
When I use the SetPixel function w/ dev-cpp, it gives me a linker error. The SetPixel prototype is in wingdi.h.
Your compiler cannot find the actual code for SetPixel(). You need to link in the library that has the body of that function in it. Just including the header w/o linking the library won't work.