Not quite so palatable when the boot's on the other foot is it? If you provide well defined problems ("it doesn't work" is not a well defined problem) you get well defined answers rather than this merry-go-round of guessing that has defined every single one of your threads. It's surely not a coincedence that none of the recent ones have come to any sort of successful conclusion.Originally Posted by Niara, of your initial post
It doesn't work for the same reason this doesn't work:
Code:char* myString = malloc(sizeof(char*)); strcpy(myString, "Hello, I'm a string in some really bad code");