Search:

Type: Posts; User: silhoutte75

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    3,834

    checksum sender vs reciever?

    Have the written this one program & unsure of how to reverse it so that it will have a sum check for the reciever & then sum check for sender and compare the 2 sum that will return zero.


    ...
  2. Thread: Need help.

    by silhoutte75
    Replies
    14
    Views
    1,320

    I see.

    I deleted the line of code recompiled then debugged. I am still recieving the error message.



    INV_REC getDataB (FILE *binOutFile)
    {
    //Local declarations
    int ioResult;
    INV_REC...
  3. Thread: Need help.

    by silhoutte75
    Replies
    14
    Views
    1,320

    No problem. I just appreciate the help. I have...

    No problem. I just appreciate the help. I have been working on this code for a while and I thought I had it then when I open the report it was empty. It was kind of like starting over from the start....
  4. Thread: Need help.

    by silhoutte75
    Replies
    14
    Views
    1,320

    Fixed the merge problem. Have a new one.

    I corrected the merge problem but now there is a read problem with my binOutFile.

    this part of the code is to read the merged bin file and prepare it to be printed. Here is the code.


    ...
  5. Thread: Need help.

    by silhoutte75
    Replies
    14
    Views
    1,320

    Many thanks.

    I really appreciate your explianation. I now see the problem and I appreciate your help. It have a few bugs to work out of the rest of the program but that was the biggie.

    Thank you again. If I...
  6. Thread: Need help.

    by silhoutte75
    Replies
    14
    Views
    1,320

    this I know.

    I tried eliminating the while statement. This created many more problems. So I put it back in but how do I get my while statement to do what it is I want it to do. I understand the fgets reads a...
  7. Thread: Need help.

    by silhoutte75
    Replies
    14
    Views
    1,320

    ok is this what I should do/

    if(fread(&itemM1, sizeof(itemM1), 1, binFile1) == 1);
    if(feof(binFile1))
    itemM1 = sentinel;


    if(fread(&itemM2, sizeof (itemM2), 1, binFile2)== 1);
    if(feof(binFile2))
    ...
  8. Thread: Need help.

    by silhoutte75
    Replies
    14
    Views
    1,320

    ok.

    changes || to &&


    while((fgets(&itemM1, sizeof(INV_REC), binFile1) != NULL) &&
    (fgets(&itemM2, sizeof(INV_REC), binFile2) != NULL))


    reran compiler.

    These are errors I get now.
  9. Thread: Need help.

    by silhoutte75
    Replies
    14
    Views
    1,320

    Need help.

    I have 2 txt files that I have converted to binary files. I need to take these two binary files merge them into one. The attempt I have made using a while loop created an endless loop. A fellow...
  10. Replies
    1
    Views
    1,562

    Loop will not break.

    I have wriiten some code and I can't seem to figure out why the while the loop will not break. It just keeps looping in both the if statement and else statement. Could someone please help hash out...
  11. Replies
    1
    Views
    1,469

    Can't Open the program.

    I been working on a sample problem from our text book and I can't open the files I'm referencing can some help me, and explain what it is I need to do to be able to run this program.

    Thank you in...
  12. Replies
    14
    Views
    1,708

    File being read

    Creating a national seal was a more difficult task then our founding fathers
    believed it would be. The idea was to create a national seal that would
    illustrate the principles and ideals of our...
  13. Replies
    14
    Views
    1,708

    c:\documents and...

    c:\documents and settings\administrator.home-inceydwazx\my documents\visual studio 2005\projects\11chapter\11chapter\chapter11assign-45.cpp(45) : error C2664: 'sscanf' : cannot convert parameter 1...
  14. Replies
    14
    Views
    1,708

    Would you be so kind as to help. I need help...

    Would you be so kind as to help. I need help please...
  15. Replies
    14
    Views
    1,708

    This is what I'm trying to do.

    Code it so that it prints not each character but each word separtely.
  16. Replies
    14
    Views
    1,708

    Ok did you suggestion and it is still getting...

    Ok did you suggestion and it is still getting hung up there at the initializer. I am stuck still.
  17. Replies
    14
    Views
    1,708

    Still stumped.

    I have been unable to figure out the problem with the initialization code.



    int wordIndex = 100;
    initialize(wordIndex, *(strng));



    system("PAUSE");
  18. Replies
    14
    Views
    1,708

    Run-Time Check Failure #3 - The variable...

    Run-Time Check Failure #3 - The variable 'wordIndex' is being used without being initialized.

    Ok added back in the line for initialization, made the changes as suggested and they worked perfectly....
  19. Replies
    14
    Views
    1,708

    Started over please help.

    Ok started over with my code. First trying to make it easier to read.
    Second was hard to read so I goot confused. Now I am trying to separate my project into proper function calls. I need my program...
  20. Replies
    17
    Views
    2,103

    I see how this would help, however I'm not sure...

    I see how this would help, however I'm not sure where I would put this statement? I was trying to determine it but it's all running together I can't seem to make heads or tails of anything right now....
  21. Replies
    17
    Views
    2,103

    I'm at a loss I'm not sure if I understand. where...

    I'm at a loss I'm not sure if I understand. where would I place code like this? Would I be using it after I've allocated the memory or throughtoutt he program? I'm sorry if I'm dumb tonight I'm...
  22. Replies
    17
    Views
    2,103

    Would I use a str to str comparison for that? I...

    Would I use a str to str comparison for that? I think I'm running into a problem. Could you help.
  23. Replies
    17
    Views
    2,103

    Your advice worked and I see what you mean. Thank...

    Your advice worked and I see what you mean. Thank you. Now I'm trying to get the program to print individual non repeat of the words. It's printing full sentences. Can you help. Could you advise me...
  24. Replies
    17
    Views
    2,103

    What.

    I am sorry what do you mean by rewind the file pointer. And where would I do this? I appreciate you help but I'm lost. Could you explain more.

    Thank you.
  25. Replies
    17
    Views
    2,103

    I tried casting the type.

    ok. I've casted the type so that calloc to take care of the type casting of void to char. However then I get the error can't convert from char to char** I have tried dereferencing the char and other...
Results 1 to 25 of 69
Page 1 of 3 1 2 3