![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Vector Traversing | dhanamurthy | High Level Programming | 1 | 04-30-2008 05:20 AM |
| backing up file everytime script run and saving other backups | knc9233 | UNIX for Dummies Questions & Answers | 4 | 01-29-2007 05:21 AM |
| Control saving file by type | saswerks | UNIX for Dummies Questions & Answers | 4 | 02-15-2005 12:47 PM |
| vector<string> with insert cmd | photon | High Level Programming | 1 | 09-10-2004 02:51 PM |
| Saving a redirected file | JSP | UNIX for Dummies Questions & Answers | 1 | 09-27-2001 03:52 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
| Forum Sponsor | ||
|
|
|
|||
|
First write the value of vector::size() to the file. And then write all the values in vector using a for-loop. The size will tell you (when reading from the file) how many vector values are present.
|
|||
| Google The UNIX and Linux Forums |