Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Telix/SALT v3.15 & RS-232, Hayes - <b>setchr</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  SETCHR

  .  Summary

  setchr(str <buf>, int <pos>, int <c>);

  .  Description

  The setchr function puts the character <c> at position <pos> in the
  string indicated by <buf>.

  .  Return Value

  The character <c> is returned.

  .  Example

  int i;
  str s[100];
  for (i = 0; i < 10; ++i)     // set first 10 characters to 'A'
   setchr(s, i, 'A');

See Also: setchrs subchr ASCII table

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson