![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Feb 2008
Posts: 31
Rep Power: 0
![]() |
Reading and Writing to a Txt File.
I got a text file ( Check the Attachments ) and i want to edit the part where reads
!!Read and Write Here!!!. Been googling around and can't find any posts about this. Anyone can help? And i don't have any code. Thanks.
__________________
C# Last edited by Jewel; Jul 7th, 2008 at 8:49 AM. |
|
|
|
|
|
#2 |
|
Professional Programmer
|
Re: Reading and Writing to a Txt File.
Check this out - http://msdn.microsoft.com/en-us/libr...g_members.aspx
__________________
Forgiveness is the fragrance that the violet sheds on the heal that has crushed it. - Mark Twain Destruction leads to a very rough road, but it also breeds creation. |
|
|
|
|
|
#3 |
|
Programmer
Join Date: Feb 2008
Posts: 31
Rep Power: 0
![]() |
Re: Reading and Writing to a Txt File.
That's not what i was looking for because there's no method for Reading or Writing a line.
__________________
C# |
|
|
|
|
|
#4 |
|
Programmer
Join Date: Feb 2008
Posts: 31
Rep Power: 0
![]() |
Re: Reading and Writing to a Txt File.
Got it now.. But have a new question.. How is this possible:
string hello = "Jewel says:"Hello World"."
__________________
C# |
|
|
|
|
|
#5 |
|
PFO Founder
![]() ![]() |
Re: Reading and Writing to a Txt File.
I don't really get what you are asking but is this what you are looking for?
string hello = "Jewel says:\"Hello World\".";
__________________
BIG K aka Kyle Programming Forums Kyle K Online Please do not PM or email me programming questions. Post them in the forums instead. |
|
|
|
|
|
#6 |
|
Programmer
Join Date: Feb 2008
Posts: 31
Rep Power: 0
![]() |
Re: Reading and Writing to a Txt File.
It worked. Thanks.
__________________
C# |
|
|
|
|
|
#7 |
|
Expert Programmer
|
Re: Reading and Writing to a Txt File.
Explaining what kyle said, \" is what is known as an escape character. there are others, but you can google those if you would like. I believe most languages have them.
__________________
|
|
|
|
![]() |
| 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 |
| Structures and Reading from File | ccfc1986 | C++ | 14 | Nov 24th, 2007 5:57 PM |
| reading and writing to a file | cwl157 | C++ | 9 | Apr 30th, 2006 7:29 AM |
| Urgent (reading and writing files in VB6) | Indigno | Visual Basic | 6 | Mar 17th, 2006 10:05 PM |
| Reading n´ writing MS Access memo fields | edneymatias | C++ | 0 | Mar 31st, 2005 1:56 PM |
| airport Log program using 3D linked List : problem reading from file | gemini_shooter | C++ | 0 | Mar 2nd, 2005 4:12 PM |