Sorry Ben,

May be i have posted the question at wrong place.

Let's we will not look at code, may be it contains errors, but can you
guide me on issue : it is possible to create file into c++ Addon for
node.js module..??


On Fri, Dec 7, 2012 at 5:49 PM, Ben Noordhuis <i...@bnoordhuis.nl> wrote:

> On Fri, Dec 7, 2012 at 1:03 PM, Mayur <mayur.da...@avinashi.com> wrote:
> > Hi..
> >
> > I want to know how i can create file and append string(text) data inside
> it
> > in c++ addon (.cc) file of node.js ??
> >
> > I have used below code to do same, but not able to find file "data.txt"
> in
> > my ubuntu machine.
> >
> >    FILE * pFileTXT;
> >    pFileTXT = fopen ("data.txt","a+");
> >    const char * c = localReq->strResponse.c_str();
> >    fprintf(pFileTXT,c);
> >    fclose (pFileTXT);
> >
> > Please guide me !!
>
> Wrong newsgroup.  That's a general C/C++ question, it's not in any way
> specific to node.js.
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to nodejs@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>



-- 
Regards,
Mayur Dabhi

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to