![]() |
|
| *AX SOFT>>>Programming & Design |
Hai guys i'm doing a project in C++.i want to know how to update the contents of a file in c++.? |
Hai guys i'm doing a project in C++.i want to know how to update the contents of a file in c++.? If you mean updating the data that is already in the file (for instance, changing a word in the file to another word), then you'll need to open the file for reading, read the whole file into a string (or several), parse the data, edit the data, and then write it back to the file. Essentially, this is what games and applications do for INI files and such. I am not positive, but if you are talking about a flat - or "text" file - I don't know of any easy way to actually 'update' the contents of it. Typically, in situations such as these, the file is simply overwritten with the new, modified file. |
| Tags |
| General - Computers & Internet Software Security Programming & Design Facebook Flickr Google MSN MySpace |
| Related information |
Usually you get the best results from NURMS ("non-unified rational meshsmooth") Apply the Meshsmooth modifier and under 'method' choose 'NURMS'. You can increase the... Not much to do with programming :S ...a. Fo-rizzle ...i personally use 3ix this company is awesome and i have never had any problems with them. for 拢50 a year you can get 500 gigabytes webspace,99 uptime,unlimited bandwith,unlimited mysql databases... Assembly languages are usually specified by the CPU that runs them, so some examples are: 8080, 8086, 6502, Z80, 8051, 68K, and so on. Different vendors use different "styles" for the... Check the following tutorial by Dana Nouri. That's a 5 part tutorial. ... B1: =(100*1.03) B2: =(B1*1.03) B3: =(B2*1.03) etc, ...Use <PRE> with tables initially aligned in Courier New font. <PRE> Table </PRE> ... |
Categories--Copyright/IP Policy--Contact Webmaster |