Post here = malloc function = syntax : malloc(size) it allocated memory of given size... u can assign it to pointer & u can use that memory... i.e. buffer = (char*) malloc(<str size>); ok try & code on this.. if u have any help you need with functions.question..post