Search:

Type: Posts; User: ChrisH

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,626

    I know how to open the files I want the info. to...

    I know how to open the files I want the info. to be read from and then printed to. I think I get also, how to print the info from the source file ("r") into the destination file ("w").

    Now, once...
  2. Replies
    4
    Views
    1,626

    Writing a program, need some help.

    I am trying to write a program to read an arbitrary, but fixed number of input records from a file. I then want it to put or print this information read into another file. How would I go about doing...
  3. Replies
    38
    Views
    7,073

    I was able to figure out what the problem was. I...

    I was able to figure out what the problem was. I had a line that I needed a " in. I fixed it and the program compiled fine.
  4. Replies
    38
    Views
    7,073

    That is exactly what I did. It still gives me...

    That is exactly what I did. It still gives me that one warning/error.
  5. Replies
    38
    Views
    7,073

    It is only giving me one warning now; I have...

    It is only giving me one warning now;


    I have looked the code over, and do not see what the problem is.
  6. Replies
    38
    Views
    7,073

    what do you mean?

    what do you mean?
  7. Replies
    38
    Views
    7,073

    I went ahead and tried to compile it and got the...

    I went ahead and tried to compile it and got the following errors;
  8. Replies
    38
    Views
    7,073

    Thank you so much for the help. I cannot believe...

    Thank you so much for the help. I cannot believe my code was even close to correct, LOL. I have coped the revised code into a text file in notebook, and tomorrow will copy it to my compiler and try...
  9. Replies
    38
    Views
    7,073

    Just to double check, before I insert it, you...

    Just to double check, before I insert it, you said the following code

    was fine to use?
  10. Replies
    38
    Views
    7,073

    So, if I copy all of the revised code you just...

    So, if I copy all of the revised code you just posted, it should compile?
  11. Replies
    38
    Views
    7,073

    LOL, I really don't have much of an idea of what...

    LOL, I really don't have much of an idea of what I am doing, but let me post what I've written so some of you can laugh and then try to help me....
  12. Replies
    38
    Views
    7,073

    Ok, I think I may get it. So, lets say now I have...

    Ok, I think I may get it. So, lets say now I have the program scanning the contents of the file and printing them out. How do I then get it to calculate the change due ... do I do it the same way,...
  13. Replies
    38
    Views
    7,073

    Ok, now lets say I dont want a person to enter a...

    Ok, now lets say I dont want a person to enter a value for cost or payment, etc., but that the info is already stored in a file that I want the program to open, scan and then calculate the change...
  14. Replies
    38
    Views
    7,073

    I think I get it, but do you mind giving me a...

    I think I get it, but do you mind giving me a quick example. Say, change due is $43.00. Show me, with the loop, I assume a while statement, I would calculate and have it print the number of 20's to...
  15. Replies
    38
    Views
    7,073

    1) I enter price of item 2) I enter amount paid...

    1) I enter price of item
    2) I enter amount paid
    3) Subtract amount paid minus the price
    4) print this number as change due,

    then I step by step need to ask it to calculate the number of each...
  16. Replies
    38
    Views
    7,073

    Need help with C program

    I am trying to write a C program to calculate change due. How would I go about doing this? It needs to print the amount of change due for each coin/dollar.

    For Example, lets say someone is due...
Results 1 to 16 of 16