Search:

Type: Posts; User: wisdom30

Search: Search took 0.00 seconds.

  1. Replies
    22
    Views
    6,021

    Will do that... it would have saved me loads of...

    Will do that... it would have saved me loads of time... THANKS! You all are very helpful!
  2. Replies
    22
    Views
    6,021

    Seriously you have just made my day!!! I am so...

    Seriously you have just made my day!!! I am so very happy... I once again like programming - atleast for this hour... Big Huge smile on my face! THANKS THANKS THANKS!!!
  3. Replies
    22
    Views
    6,021

    tabstop you rock!!!

    tabstop you rock!!!
  4. Replies
    22
    Views
    6,021

    changes.... changes void add() { int...

    changes.... changes



    void add()
    {
    int inventory, catagory, quantity, choice, total_products = 0, ctyp, c, items, key;
    double cost, price, cateType[6], costs, category;
    int n = 0, count...
  5. Replies
    22
    Views
    6,021

    That is what I get in my file, and YES tabstop!!!...

    That is what I get in my file, and YES tabstop!!! That is what I entered! How do you see that and I don't? What am I doing wrong? THANKS FOR THE HELP!
  6. Replies
    22
    Views
    6,021

    Is it wrong for me to close the file, if I don't...

    Is it wrong for me to close the file, if I don't need it anymore? Isn't it good form to close it after it has done its job, so stuff doesn't get written to it haphazardly? The file contains that min...
  7. Replies
    22
    Views
    6,021

    I am paying attention... seriously? Okay I am...

    I am paying attention... seriously? Okay I am going to read what you wrote....
  8. Replies
    22
    Views
    6,021

    Didn't make very many changes... but here is my...

    Didn't make very many changes... but here is my new code.



    void add()
    {
    int inventory, catagory, quantity, choice, total_products = 0, ctyp, c, items, key;
    double cost, price,...
  9. Replies
    22
    Views
    6,021

    Thanks for the reply tabstop. The reason I closed...

    Thanks for the reply tabstop. The reason I closed the file is because it is a totally different file, then from the one I am writting to and attempting to report/show from. Also i am using an array...
  10. Replies
    22
    Views
    6,021

    Thanks for the replies! I am going to carefully...

    Thanks for the replies! I am going to carefully read what ea of you has written, make some changes and report what I find.
    On a side note, my program in the beginning is reading from a file -...
  11. Replies
    22
    Views
    6,021

    Program writing gibberish to a .dat file

    Hello I am having a problem, I need my program to write data to a .dat file, then I need it to report/show my data, however I keep getting an error 'Access violation reading location', when I try to...
  12. Figured it out! I got rid of the arrays and...

    Figured it out! I got rid of the arrays and stored everything into variables! However even after I did that it still wasn't printing what was in the text file, so I went to check my text file and low...
  13. What do you mean I am reading them as single...

    What do you mean I am reading them as single values? Please correct me if I am wrong, but when I use the fscanf function, isn't the data being scanned stored in my t array(s)? Is this what I am...
  14. int t1[6], t2[6], t3[6], t4[6], t5[6],t6[6]; ...

    int t1[6], t2[6], t3[6], t4[6], t5[6],t6[6];
    double t7[6], t8[6], t9[6], t10[6];
    FILE *tp;

    tp = fopen("report.txt", "rt");
    if (tp == NULL)
    {
    printf("Error opening source file\n");...
  15. Read text file, scan and store data into variables?

    I have created my program, however we have just been introduced to text files. I can get my code to read the file however, I have tried everything to get it to scan the file and store the data into...
Results 1 to 15 of 17