Dont bother cout text.
Its Swedish.
When i compile this :
#include <iostream>
int main ()
{
int money;
int ihave = 188;
int lost;
cout << "Hur mycket pengar har du tjänat den här månaden?" << endl;
cin>>money;
cout << "Hur mycket pengar har du förlorat den här månaden?" << endl;
cin>>lost;
lost -= ihave;
money += ihave;
cout << "Så här mycket pengar har du nu!" << endl;
cout << ihave << endl;
return 0;
}
i get this error:
C:\WINDOWS\TEMP\cctfDagb.o(.text+0x94):pengar.cpp: undefined reference to `GetStockObject@4'
Anybody knows whats wrong?
And by the way, should i make this a console application or a windows?