![]() |
| | #1 |
| Registered User Join Date: Jun 2008
Posts: 1
| Beginner Question - Linking a data file |
| noiprocs2 is offline | |
| | #2 |
| Kernel hacker Join Date: Jul 2007 Location: Farncombe, Surrey, England
Posts: 15,686
| You create a data file with something along these lines: Code: #include <iostream>
...
std::ostream astream("outfile.txt");
astream << "This is my data" << std::endl;
Mats
__________________ Compilers can produce warnings - make the compiler programmers happy: Use them! Please don't PM me for help - and no, I don't do help over instant messengers. |
| matsp is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Bitmasking Problem | mike_g | C++ Programming | 13 | 11-08-2007 12:24 AM |
| Inventory records | jsbeckton | C Programming | 23 | 06-28-2007 04:14 AM |
| Please Help Reading Data From A File | NickHolmes | C Programming | 5 | 05-29-2005 11:24 PM |
| archive format | Nor | A Brief History of Cprogramming.com | 0 | 08-05-2003 07:01 PM |
| what does this mean to you? | pkananen | C++ Programming | 8 | 02-04-2002 03:58 PM |