Help with code

From: Marcelus Trojahn (mtrojahn@lagosnet.com.br)
Date: 11/25/02


Hello,

I  need  a  little  help  with  this  code...  I  am not a experienced C
programmer so I'm having some trouble here...

Consider de following variable:

char *chmap[] {
  "-----\r\n",
  "-----\r\n",
  "-----\r\n" };

Well,  my  problem  is  that  sometimes  I  need  to  change some of the
characters  on  that string to another one... For example if I want that
the contents of this variable be something like this:

char *chmap[] {
  "-A-A-\r\n",
  "-A-A-\r\n",
  "-A-A-\r\n" };

How can I do that by code? I had tryed something like "chmap[0][1]='A';"
without success...

Can you please help me with this?





--
Marcelus Trojahn
trojahn@lagosnet.com.br
Suporte Técnico de Internet

http://www.lagosnet.com.br - lagosnet@lagosnet.com.br

--
   +---------------------------------------------------------------+
   | 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