Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. TGather

    problem with text files

    problem solved.. =X i needed to fflush() the file before closing it!! =P
  2. TGather

    problem with text files

    th problem seems to be in the second fclose(fin)!!
  3. TGather

    problem with text files

    i'm just trying to print the words from the file 10 times!! and the program works but only in Debug.. =S
  4. TGather

    problem with text files

    int count; FILE *fin; char wordtxtfile[50]; char txtfile[2][10]; /*****************************/ strcpy(txtfile[0],"PT.txt"); strcpy(txtfile[1],"FR.txt"); /*****************************/ count=11; for (int x=0;x<2;x++) { if ((fin=fopen(txtfile[x],"r"))==NULL) printf ("\nError"); else...
  5. TGather

    problem with text files

    uuupppsss.. I put the fclose(fin) in the wrong place.. well.. let me edit it..
  6. TGather

    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 FOR), and when i close the file again (inside the FOR) an error apears saying "..The memory could...

Part and Inventory Search

Back
Top