Re: combining workspaces



@Falconer
thnx a lot.

@Heathfield
Gotcha

bye,
hurry.


CBFalconer wrote:
Richard Heathfield wrote:
hurry said:

I have two different set of codes (say A and B workspaces) I want
to call the entire B as a function inside A.I want a solution to
do this.

To my knowledge, one soltn. would b to add all files of B in A's
workspace and compile like any other fnuction but, the pblm here
is both B and A are huge piles of codes and at many places happen
have same variables ( in their declaration in header). so, for
this soltn. to work, I`ll have to change all the variables in
their headers and in .C in B's workspace ( which is a HERCULIAN
task, considering the voluminosity of the codes).

You just discovered why it's a good idea not to use file scope
objects if you can possibly avoid them - or at least to severely
constrain them to perhaps one or maybe two at most in each library.

I've been pointing this out in comp.lang.c, on and off, since 1999
or so. You shoulda listened.

However, fear not. The little old toolmaker is here. Go thou and
download and use id2id-20, and the Augean stables may become a
kitty litter box.

<http://cbfalconer.home.att.net/download/id2id-20.zip>

Of course, if you had listened to Richard you wouldn't need it. As
it is you have to listen to the cackling sounds of "we told you
so".

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <http://cfaj.freeshell.org/google/>
Also see <http://www.safalra.com/special/googlegroupsreply/>

.



Relevant Pages

  • Re: Merge all files in a folder
    ... Thank for your assistance, your codes works excellently. ... another workbook, named "OLT" to a new sheet here. ... Another request is the the current macro will filter as: ... move it to start at A2 and name the Header column as Securities since the ...
    (microsoft.public.excel.programming)
  • Re: huffman header compression
    ... So far I think Elias gamma coding is the best method I've come up with, ... Uncompressed Header in bits.. ... and huffman codes the result. ... so this is a perfect example of a bijection between long and short ...
    (comp.compression)
  • Re: huffman header compression
    ... code-lengths) have the shortest codes. ... overhead of using a single marker in the header witch is a one off ... bijection of Elias gamma codes longest to shortest... ... but also we have to somehow encode lengths of zero.. ...
    (comp.compression)
  • Re: Date Code Problem
    ... no longer updated on opening a document. ... All fields in the header and footer ... When I toggle the codes, ... subsequent pages does show the correct date in the header. ...
    (microsoft.public.word.docmanagement)
  • combining workspaces
    ... I have two different set of codes I want to ... ..C in B's workspace (which is a HERCULIAN task, ... B does not need to hold any variable betwn its entry (in other ... in headers of A and B. ...
    (comp.lang.c)