From: "Peter d" <death_comes_to_all@HOTMAIL.COM>
> i downloaded the afk code from the ftp.. the file is afk.txt
> I got a small reject, like a missing "," in the
>
> {"AFK flag is now off.\r\n",
> "AFK flag is now on.\r\n"},
>
>
> part..
>
> when i discovered it, and added it, i got 26+ errors from
> c:\program\borland\cbuilder5\include\stdio.h
> the common error that showed up many times is "type name expected"
> another error is declaration syntax error.. i'm running with bpl21, and my
> compilator is borland c++ 5.5 for windows..
> i get the same error in mem.h in the same directory..
> does anyone have an idea on how to solve this? :)
You have to put a comma after every line, except the last one, like this:
{"Blahblah is now off.\r\n",
"Blahblah is now on.\r\n"}, <--- Note: Comma
{"AFK flag is now off.\r\n",
"AFK flag is now on.\r\n"}<--- Note: No comma
I suggest you read a c book, since this is pretty basic stuff, and you
should
actually know this yourself.
--
+---------------------------------------------------------------+
| FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
| Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
| Newbie List: http://groups.yahoo.com/group/circle-newbies/ |
+---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT