On Sun, 9 Dec 2001, Tiago wrote: > buf_tmp = \"/0\"; Why are you escaping your quotation marks like this? Why are you trying to sprintf() to a pointer to a literal string? Why are you pointing buf_tmp to the literal string "/0" (that's _not_ the empty string: "" or "\0")? Why didn't you just add a small if-check to is_tell_ok()? While it is admirable that you have tried to do for yourself, you have not spent the effort needed to learn the language in which you're trying to program. The above questions point out a number of things you have wrong, but such fundamental syntax and semantic errors as appear in your code are merely a symptom of the fact that you are not a C programmer. As such, I advise you to seek assistance from a C-specific forum, book, or class. -dak -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/24/03 PDT