Error

closed account (oz80RXSz)
When I build it
it says;
Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped

when i start it without debugging it gives me an error

Debug Error!
Run-time Check failure#3-The variable 'x'is being used without being initialized.

float x; doesn't that initializes x
No. float x = 0.0f;

You were just declaring it and then using it.
Last edited on
For built-in types -int float etc- the default constructor in most cases isn't called so you need to specify it.
closed account (oz80RXSz)
ok thank you both
Topic archived. No new replies allowed.