|
|
'hello world.exe': Loaded 'C:\Users\James\Documents\Visual Studio 2008\Projects\hello world\Debug\hello world.exe', Symbols loaded. 'hello world.exe': Loaded 'C:\Windows\System32\ntdll.dll' 'hello world.exe': Loaded 'C:\Windows\System32\kernel32.dll' 'hello world.exe': Loaded 'C:\Windows\System32\KernelBase.dll' 'hello world.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.30729.1_none_bb1f6aa1308c35eb\msvcp90d.dll' 'hello world.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.30729.1_none_bb1f6aa1308c35eb\msvcr90d.dll' 'hello world.exe': Loaded 'C:\Program Files\CheckPoint\ZAForceField\Plugins\ISWSHEX.dll' 'hello world.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_d08a205e442db5b5\msvcr80.dll' 'hello world.exe': Loaded 'C:\Windows\System32\msvcrt.dll' 'hello world.exe': Loaded 'C:\Windows\System32\user32.dll' 'hello world.exe': Loaded 'C:\Windows\System32\gdi32.dll' 'hello world.exe': Loaded 'C:\Windows\System32\lpk.dll' 'hello world.exe': Loaded 'C:\Windows\System32\usp10.dll' 'hello world.exe': Loaded 'C:\Windows\System32\advapi32.dll' 'hello world.exe': Loaded 'C:\Windows\System32\sechost.dll' 'hello world.exe': Loaded 'C:\Windows\System32\rpcrt4.dll' 'hello world.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_d08a205e442db5b5\msvcp80.dll' 'hello world.exe': Loaded 'C:\Windows\System32\ole32.dll' 'hello world.exe': Loaded 'C:\Windows\System32\imm32.dll' 'hello world.exe': Loaded 'C:\Windows\System32\msctf.dll' 'hello world.exe': Loaded 'C:\Windows\System32\ntmarta.dll' 'hello world.exe': Loaded 'C:\Windows\System32\Wldap32.dll' The program '[5336] hello world.exe: Native' has exited with code 0 (0x0). |
|
|
X: 3 Y: 2 X / Y (rounded) == 2 |
changing them to floats seem to have stopped the crashing, however, when i use a decimal the program decides to repeatedly perform the while statement in the main() funct except it ignores all the if statements in CallMenu(), ive changed the return value of CallMenu() to return 1 when the if statements are ignored, so the program doesnt go into an infinite loop, however i cannot figure out why it does this, any suggestions? |
you can use long double for such an accuracy |