Hvad sker der hvis du bruger denne:
http://home20.inet.tele.dk/midgaard/snip/bitmap.html
Du skal have en fil kaldet sample.bmp i samme mappe som programmet.
så siger den:
[Linker error] undefined reference to `GetObjectA@12'
[Linker error] undefined reference to `CreateCompatibleDC@4'
[Linker error] undefined reference to `SelectObject@8'
[Linker error] undefined reference to `BitBlt@36'
[Linker error] undefined reference to `SelectObject@8'
[Linker error] undefined reference to `DeleteObject@4'
ld returned 1 exit status
Jeg bruger dev-c++