Re: how to convert char* to File *



On 3 Jul 2006 03:40:56 -0700, in comp.lang.c , cnwy@xxxxxxx wrote:

Hi,
I have a long string in char * and want to convert it to a File *

This doesn't make sense (at least, it makes as much sense as saying 'I
have a cow, I want to convert it to a Daschund').

What are you actually trying to do? That is to say, what is the
problem you are trying to solve?

--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
.



Relevant Pages

  • Re: Commenting source code is for amateurs
    ... Professionals also use short paragraphs and white space when writing;-) ... Architectural & e-Business Consulting -- Software Development ... >> ' This is my function to count english words in your string ... ' to check every char in your string s ...
    (microsoft.public.dotnet.languages.vb)
  • java.io.FileOutputStream misbehavior
    ... is it right that when writing a file, ... one or two byte get written per char? ... For example you save a String with about 40kbyte into a file. ... When putting a single umlaut in the String, ...
    (comp.lang.java.help)
  • Re: Null terminated strings: bad or good?
    ... char* data; ... Ease of IO (writing to/fro disk files, ... The writing from a string can be done ...
    (comp.lang.c)
  • Re: Null terminated strings: bad or good?
    ... char* data; ... Ease of IO (writing to/fro disk files, ... The writing from a string can be done ...
    (comp.lang.c)
  • Re: C examples and codes
    ... can be interpreted as a bit string, which can be interpreted as an ... "Debugging is twice as hard as writing the code in the first place. ... not smart enough to debug it." ... --Brian Kernighan ...
    (comp.lang.c)