On Fri, Dec 7, 2012 at 1:03 PM, Mayur <[email protected]> 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
