www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/28/10:58:52

From: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT tu-chemnitz DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Very strange behaviour.
Date: Tue, 28 Jan 1997 12:27:34 +0100
Organization: TU Chemnitz-Zwickau
Lines: 46
Message-ID: <32EDE2A6.31D3@Mathematik.tu-chemnitz.de>
References: <199701280025 DOT WAA16737 AT prometheus DOT hol DOT gr>
NNTP-Posting-Host: rom.hrz.tu-chemnitz.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Panos Platon Tsapralis wrote:
> 
> nothing to variable "buffer" and the subsequent call fails. During
> debugging ( through RHIDE ), I seem to not being able to modify the content
> of the variable "buffer" via Control-F4 operation.

Modifying a varibale is a topic for it's own. You should really know
what you do. And the next is, when you try to modify a pointer
(and "buffer" is a pointer) you will run into problems.
OK, here two ways to modify the "buffer" (both not tested, but
should work). Hit Ctrl+F4 on "buffer" and then modify each
character with 

buffer[...]='x'

(replace "..." with the needed index
and "'x'" with the wanted character).

OR use the feature to call a function of your program. Simply type in
the Ctr+F4 dialog 

strcpy(buffer,"New string")

and hit ENTER.

> 
>         I have been spending countless hours trying to figure out what is really
> hapening , but to no avail.
> 
>         I would really appreciate all the help I can get from you, dear fellows
> !!!
> 
> =================================================
> Panos Platon Tsapralis,
> Software Engineer,
> Software Developement Operations Division,
> Unisoft S.A., Athens, Hellas.
> =================================================

-- 
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post:    Am Berg 3, D-09573 Dittmannsdorf                     *
* e-Mail:  Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE              *
* WWW:     http://www.tu-chemnitz.de/~rho                       *
*****************************************************************

- Raw text -


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