can i have some input from anybody that is familiar with this? is what i did correct? i mean i know it looks right when it actually writes to the file, but i just kept guessing the setw until it...
Type: Posts; User: z.tron
can i have some input from anybody that is familiar with this? is what i did correct? i mean i know it looks right when it actually writes to the file, but i just kept guessing the setw until it...
i don't think i have to worry about that yet. all of the prices in this list are something like
78.99
132.99
39.99
etc...
here is new code attached
<edit>
i gave old code by accident. here is the actual code
</edit>
here is the code i am concerned with. the formatted output looks like it is correct after you run the program, but i don't...
yes it solved a part of my problem. thanks.
i was just changing a lot of the code around just so i could get it to compile. we haven't started working on arrays yet, but our teacher gave us this...
i changed some code in the functions and it compiles well, but when i try to run it i am getting link errors. i don't know what they mean. if someone could run the code and help me debug i would...
i need some help with a program. it is fairly large, so i will just attach a zip file with the source and input/output files. i just started to learn arrays and i am a little confused. don't worry...
ok, here is what i did:
// Calculate the number of quarters, dimes, and nickels in change
quarters=change/25;
change=change%25;
dimes=change/10;
change=change%10;
nickels=change/5;...
i can't use any loops or anything like that yet....it's just basic stuff.
i am looking for someone to help me out on where i went wrong with the example code at the bottom. the complete code i...
i know this is probably something really simple, but i just cant figure it out. here is the code. i know i should be able to calculate it without using the newchange variable. any help is...
thanks :)
i haven't programmed in c++ in probably two years.
i was just bored and trying to make a simple program for myself.
here is the code i am having some trouble with.
i know it's probably smething...