Hi, I am a begginer with c++ and i need help with this code,
i am trying to generate a random math question but there is always an error that i dont know how to fix.
this will blow up, as you have not intialised 'one' and 'two'. It looks like you are under the assumption that your 'one' and 'two' variables in your Question() method are the same as those in your main(). This is not the case.
Also I don't think you need to include most of those headers.
edit: you don't seem to be calling StartTimer () either, so i'm not sure why that's there.
also on line 14 you declare 'stringLength' but never initialise this either.