Search:

Type: Posts; User: Gather

Search: Search took 0.00 seconds.

  1. Replies
    27
    Views
    2,586

    man.. i'm getting really crazy with this...

    man.. i'm getting really crazy with this program!!!
    everything was going fine.. then i tested the program with various text files.. and sometimes the same error apears at the fclose().. sometimes...
  2. Replies
    27
    Views
    2,586

    THKS.. that solved it :D lol.. i'll put your...

    THKS.. that solved it :D lol.. i'll put your name in my final presentation.. xP
  3. Replies
    27
    Views
    2,586

    what do you mean? flushing the stream? other...

    what do you mean? flushing the stream?

    other thing i forgot to mention.. the program is giving the error when i do the fclose(fin) for the second time. =X
  4. Replies
    27
    Views
    2,586

    loool.. well.. its closest to the almond recipe,...

    loool.. well.. its closest to the almond recipe, but it has no secret.. and it has nothing to do with food.. and.. its not a recipe. :D
    i'ts just a project/assignment where the program determines...
  5. Replies
    27
    Views
    2,586

    lol.. do I really need to explain it? please.. is...

    lol.. do I really need to explain it? please.. is there another way?
    And is that really the cause of the program error?
  6. Replies
    27
    Views
    2,586

    I cant.. =S I have to use the files.. cant use...

    I cant.. =S I have to use the files.. cant use strings
  7. Replies
    27
    Views
    2,586

    How do i print the contents 11 times without...

    How do i print the contents 11 times without reopening the file? so that it goes to the begining of the file at the start of every loop.
  8. Replies
    27
    Views
    2,586

    what do you mean?.. i did the error checking in...

    what do you mean?.. i did the error checking in the begining
  9. Replies
    27
    Views
    2,586

    fin=fopen(txtfile[x],"r"); while...

    fin=fopen(txtfile[x],"r");
    while ((fscanf(fin,"%s",wordtxtfile))!=EOF)


    it's not opened??
  10. Replies
    27
    Views
    2,586

    there's a reason why i'm doing that.. but i'm not...

    there's a reason why i'm doing that.. but i'm not going to explain it now..
    the question is.. does the problem come from there?!?!
  11. Replies
    27
    Views
    2,586

    sry.. i didnt explain what the program does.. and...

    sry.. i didnt explain what the program does.. and i only put the important part of the program!!
    basically, it opens each file (PT.txt and FR.txt) ,the first time, to see if it exists.. then closes...
  12. Replies
    27
    Views
    2,586

    problem with text files

    hi..
    i'm learning C++ and i have a problem that has never happened to me before:

    i have a project where i use text files.. i open the file, close it, start a FOR, open the file again (inside the...
Results 1 to 12 of 12