cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/13/01:30:59

From: richard AT stardate DOT bc DOT ca
Newsgroups: comp.os.msdos.djgpp
Subject: Re: char[] to char*
Date: Thu, 13 Aug 1998 04:42:00 GMT
Organization: Rapidnet Technologies Internet
Lines: 17
Message-ID: <35d26e61.14045785@news.rapidnet.net>
References: <199808121512 DOT LAA06994 AT mail DOT cgocable DOT net> <35D25A18 DOT C943F95F AT unb DOT ca>
NNTP-Posting-Host: wlp38.rapidnet.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Thu, 13 Aug 1998 00:14:32 -0300, Endlisnis <s257m AT unb DOT ca> wrote:

>bowes AT cgocable DOT net wrote:
>
>> Can someone tell me if there is a library function or other way of
>> converting char[somevalue] to char*?
>
>char H[9];char* b;
>
>b = &H[4];
>
>I think that's what you wanted.


or

 b =  H + 4;

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019