![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | ||
|
Professional Programmer
Join Date: May 2006
Location: UK - London
Posts: 330
Rep Power: 3
![]() |
File I/O problem
the following code is supposed to write to a file 60 characters per loop and then insert a new line character at the end of that line:
Quote:
__________________
Quote:
|
||
|
|
|
|
|
#2 | ||
|
Professional Programmer
Join Date: May 2006
Location: UK - London
Posts: 330
Rep Power: 3
![]() |
okay sorry to waste your time people.......it was a silly mistake and after staring at the computer screen numlessly the penny dropped.........i was using the wrong string function to start with and some of my algorithms were out the window..........here is the new code after i have solved the problem:
Quote:
__________________
Quote:
|
||
|
|
|
|
|
#3 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Off topic, I'd suggest you learn to indent if your code is going to be presented to those other than yourself.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| OnlineTextEditor.Com! | Sane | Show Off Your Open Source Projects | 43 | Jun 16th, 2006 8:55 AM |
| Problem with file and array | Marek | C | 9 | Dec 28th, 2005 10:03 AM |
| Open File Problem :( | Silent | Visual Basic .NET | 17 | Dec 5th, 2005 2:30 AM |
| After execution - Error cannot locate /Skin File? | wchar | Visual Basic | 1 | Mar 5th, 2005 9:04 PM |
| airport Log program using 3D linked List : problem reading from file | gemini_shooter | C++ | 0 | Mar 2nd, 2005 4:12 PM |