FYI - I ended up using this to get the menu input
i_menu_choice = getchar() - '0';
Works like a charm now...
Type: Posts; User: christianne
FYI - I ended up using this to get the menu input
i_menu_choice = getchar() - '0';
Works like a charm now...
It's all good guys.... I write it in gcc first now and then backwards tweak it for this stupid compiler. I wrote one heck of a complaint to the board of UofP for requiring us to use this crap that...
Oh goodness, that sure did it. Now it just doesn't go back to the menu when done... I'll figure that part out. Thanks again, guys - like I said, I've learned a lot more here than I have in class. ...
Also, that is a typo.... thanks for pointing it out - I actually hadn't noticed it yet.
It's Miracle C, I don't get compiler warnings unless it flat out doesn't compile.
Trust me, I know. When I code stuff in gcc, it works fine... then when I move it to Miracle, I spend hours trying to tweak it to work. It really is useless, and I've filed a formal complaint with...
Thank you very much! I've seen the other posts where people ask for others to do their homework, that's really not what I'm after here.
I have a very poor text that does an awful job of...
Can someone tell me why this program is returning such strange values?
//Currency Conversion Program
//Written by ***********, University of Phoenix
//Version 3 4/2/2006
#include...
I've gotten this far, but I don't know how to use the 'function' properly... I've tried several things, but keep coming back to this base code because I know it works.
Can anyone give me a better...
Sorry, that was dumb.... here, but it still quits after entering the float for f_input_USD.
I'm not asking you guys to do anything for me, please don't - but just show me where I'm going wrong. ...
Don't I have to use some sort of continue function?
Okay, now when I type in my float to perform the conversion, it quits???
//Currency Conversion Program
//Written by ***********, University of Phoenix
//Version 2 3/26/2006
#include...
Oh thank you - and I agree, I do most of my programming in Linux and use the gcc compiler, then tweak it backwards to fit the Miracle C. You're all right... it's a pretty useless compiler. ...
Unfortunately I have to use the Miracle C compiler for this course and the const float does not work. This is really the only way to do it (trust me, I've tried everything).
How would you use the...
I am working on the all-knowing currency conversion program. It works, and I'm fairly happy with it - except for error checking. It doesn't do so well. I'm trying to use the isdigit function to...