Celsius and Farenheit Converter - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: Programming with C++ (https://www.supportforums.net/forumdisplay.php?fid=20) +---- Thread: Celsius and Farenheit Converter (/showthread.php?tid=5434) |
Celsius and Farenheit Converter - uber1337 - 03-30-2010 This is my first C++ program and all it does is convert Fahrenheit to Celsius and vise versa, tell me what you guys think or if there is anything I can improve on. Code: /* RE: Celsius and Farenheit Converter - Canoris - 03-30-2010 (03-30-2010, 08:58 AM)uber1337 Wrote: This is my first C++ program and all it does is convert Fahrenheit to Celsius and vise versa, tell me what you guys think or if there is anything I can improve on.I'm not familiar with C++, but I can safely say you have left out a ')' in line 22. RE: Celsius and Farenheit Converter - Unfaithful - 03-30-2010 Hah this would help me at my Physic test xD RE: Celsius and Farenheit Converter - uber1337 - 03-30-2010 (03-30-2010, 02:25 PM)Μαύρο Wrote: I'm not familiar with C++, but I can safely say you have left out a ')' in line 22.Heh maybe you should take another look. Code: fahrenheit = ((celsius * 9.0) / 5.0) + 32.0; RE: Celsius and Farenheit Converter - Canoris - 03-31-2010 Aye, bad mistake. Confusing looking at code gray-gray. RE: Celsius and Farenheit Converter - Fallen - 04-05-2010 On windows you can use _getch(); for the "window not disappearing" effect. RE: Celsius and Farenheit Converter - FiLTHY - 05-20-2010 Never knew those formulas to convert Thanks allot . RE: Celsius and Farenheit Converter - mmki - 06-08-2010 Nice code bro thanks tons |