Message-ID: <01BFC967.2C9F11E0@LEON.caresystems.com.au> From: Leon To: "djgpp AT delorie DOT com" Subject: advance in allocated memory by 1 byte only Date: Mon, 29 May 2000 12:12:34 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Hello i know one can use pointer arithmetic to advance the read/write location in memory allocated by malloc for example... Now since the sizeof char is 1 byte - it is possible to use a pointer to char when moving 1 byte at a time. but what about systems that may have different sizeof char (ie != 1 byte) how would one then be able to move through a memory block by 1 byte only? With best regards - Leon.