>Jep!
>Seems like you're writing into an array-of-char, e.g.
> char ar_o_c[10];
>and try to write into it more characters than it can keep.
I have set it up like this.
const char *abil_desc[] = {
"Superman jumped off a building.\r\n",
"His butt caught on fire.\r\n",
"His building caught his butt.\r\n",
"\0"
};
for(i=0;i<3;i++)
send_to_char(abil_desc[i], ch);
How can i define an array to hold more characters? (if thats what the
problem is)
Chuck
|-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-|
|Chuck Reed - Ash of Dark Horizon |
|telnet://pentrel.com:6001 |
|http://www.i-55.com/~twingo/horizon |
|http://www.geocities.com/Eureka/Plaza/9298/ |
|creed@i-55.com -=- dragos_elec@geocities.com |
|"If you don't stand for something, you are bound |
| to fall for anything." |
|-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-|
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST