I dont get why sizeof(*allWords) and what is the meaning of it in this situation.Thanks everyone for helping me and for there valuable time.
Type: Posts; User: Konstantinos
I dont get why sizeof(*allWords) and what is the meaning of it in this situation.Thanks everyone for helping me and for there valuable time.
The problem is that i dont know the number of words i am about to fscanf so i need to put them to a temporary place,and than later place them in a dynamic array(therefore i need to count the amount...
Hello guys.I am having this problem and i cant understand why.This my code
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(){
FILE *fp;
int c;char *str;
int str_n=0;...