hehe, you guys must be really getting tired of my noobishness.
Code:
char *Catalogue = malloc(sizeof(*Catalogue)*10);
Catalogue = "a";
printf("What file would you like to load? ");
scanf("%9s",Catalogue);
ReadCatalogue(myfile);
segments here
if i try catalogue[0] = "a"; like was suggested earlier, then i get this warning
Code:
warning: assignment makes integer from pointer without a cast
this is really starting to ........ me off too, so im sorry for all those that read my code and start rocking in your chairs because of how bad it looks, but i dont do it on purpose.
i also get the same problem here: