not float Prem2
use this with long or int
My error:
Code:
1>D3D9Font.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) double __cdecl ceil(double)" (__imp_?ceil@@YANN@Z)" in Funktion ""float __cdecl ceilf(float)" (?ceilf@@YAMM@Z)".
1>D3DTabs.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""double __cdecl cos(double)" (?cos@@YANN@Z)" in Funktion ""float __cdecl cosf(float)" (?cosf@@YAMM@Z)".
1>D3DTabs.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""double __cdecl sin(double)" (?sin@@YANN@Z)" in Funktion ""float __cdecl sinf(float)" (?sinf@@YAMM@Z)".
i thought i must add math.h
added and same errors
added windows/stdio/math .h