Evangelism in googleland (was: How Globals is handle in C.)



Keith Thompson wrote:
> "sant" <santoshnayak9@xxxxxxxxx> writes:
> 
>> "Hello World" string will be stored in the Initialized data
>> segment. In that it is stored in Read Only Memory.
>>
>> temp will store the starting address of this Read Only string.
>> I think temp is stored in stack  if you have not declared it as
>> global.
> 
> As we've said here hundreds or thousands of times, *please*
> provide some context when you post a followup.  Not everyone can
> easily see the article to which you're replying. 
> group.google.com makes this gratuitously difficult, but there is
> a workaround.  See <http://cfaj.freeshell.org/google/> for details.

Sigh.  The work of civilizing the googolian barbarian hordes is
never done.  After we get past the first problem we have to worry
about topposting, and after that about snipping.  Of course
topicality comes in also.  Once in a while we run into one that
catches on immediately, which makes it worthwhile.

-- 
"The power of the Executive to cast a man into prison without
 formulating any charge known to the law, and particularly to
 deny him the judgement of his peers, is in the highest degree
 odious and is the foundation of all totalitarian government
 whether Nazi or Communist." -- W. Churchill, Nov 21, 1943


.



Relevant Pages

  • Re: Importing data from a textfile
    ... I don't know how many different types of string there are beforehand. ... temp = textscan; ... You can use it to break an arbitrarily long comma delimited list into a cell array of parts, then operate at will on the parts. ... Another think you might experiment with to speed things up is to read the entire file into memory with the 'fileread' command, and then use regex and cellfun to search the contents in memory. ...
    (comp.soft-sys.matlab)
  • Re: How Globals is handle in C.
    ... > "Hello World" string will be stored in the Initialized data segment. ... I think> temp is stored in stack if you have not declared it as global. ... The C language says nothing about an "initialized data segment" or "read only memory". ...
    (comp.lang.c)
  • Re: copymemory basic question
    ... 64: temp = s1 ... It's calling vbaStrCopyin the runtime library for each string assignment. ... The String data is held in BSTR memory packets. ... it seems that the optimizer in VB copies the ...
    (microsoft.public.vb.winapi)
  • Re: How Globals is handle in C.
    ... "Hello World" string will be stored in the Initialized data segment. ... that it is stored in Read Only Memory. ... temp will store the starting address of this Read Only string. ...
    (comp.lang.c)
  • Re: MASD syntax to load the current address in C.A at runtime
    ... so my memory on A=PC is not as good. ... CODE object, the CRC on the CODE object will change. ... easier to store individual pieces as the time string was built. ...
    (comp.sys.hp48)