URI:
   DIR Return Create A Forum - Home
       ---------------------------------------------------------
       Class H22
  HTML https://classh22.createaforum.com
       ---------------------------------------------------------
       *****************************************************
   DIR Return to: ask other for help
       *****************************************************
       #Post#: 35--------------------------------------------------
       asaf's file - needs TLC
   DIR By: SpiderGoat
       Date: March 14, 2014, 4:07 am
       ---------------------------------------------------------
       it prints only the last item
       he believes it is the fscan.
       anybody? :)
       #Post#: 36--------------------------------------------------
       Re: asaf's file - needs TLC
   DIR By: SpiderGoat
       Date: March 14, 2014, 4:41 am
       ---------------------------------------------------------
       wordA = (char*)malloc(sizeA*sizeof(30*char));
       wordA = (char*)realloc(wordA, sizeA*sizeof(30*char));
       stop saving addresses istead of values... :)
       #Post#: 37--------------------------------------------------
       Re: asaf's file - needs TLC
   DIR By: SpiderGoat
       Date: March 14, 2014, 4:46 am
       ---------------------------------------------------------
       also, for "just in case",
       instead of :
       wordA[DiffWCounter] = tWord;
       you can try:
       strcpy(wordA[DiffWCounter] , tWord);
       can't tell if it will work, but is sure safer.
       #Post#: 38--------------------------------------------------
       Re: asaf's file - needs TLC
   DIR By: Asaf
       Date: March 14, 2014, 4:57 am
       ---------------------------------------------------------
       הקומפיילר
       נותן שגיאה
       שאני עושה :
       wordA = (char*)malloc(sizeA*sizeof(30*char));
       הוא כותב
       לי
       ex5Files.c:84:40: error: expected expression before ‘char’
       #Post#: 39--------------------------------------------------
       Re: asaf's file - needs TLC
   DIR By: Asaf
       Date: March 14, 2014, 8:35 am
       ---------------------------------------------------------
       its very hard and not
       i decided to use struct.
       and its working great!
       Thx.
       *****************************************************
       Page 1 of 1