Questions tagged [read-write]

Read/write is a mode of access designating the intent or ability to perform both read and write operations on a entity.

Read/write typically denotes the ability or desire to both view and alter the contents on a file or other writable object.

In many cases this would suggest full access to a resource expect possibly in terms of use (e.g. a user have read and write but not execute access to a binary).

633 questions
-2
votes
1 answer

How to read a large text file in C++?

I am having a text file containing 65536 integers. I am writing a C++ program given at below to read this file. But it is not working properly. It is working well for text file with few integers. But not working properly for large…
Shiru
  • 1
  • 1
-2
votes
1 answer

property 'description' will not synthesize property

I have this code, in some .h file: @interface StatusData :JSONModel @property (strong, nonatomic)NSString *description; @end and I got this warning: Auto property synthesis will not synthesize property 'description' because…
Aviram Netanel
  • 12,633
  • 9
  • 45
  • 69
-2
votes
1 answer

Save text and image files from richtextbox to extern File

I have a question regarding the storage of text and image files from a RichTextBox in an external file. My problem: I am developing a program for task management. I have developed my own project for the RichTextBox to implement the drag and drop of…
Xeidos
  • 342
  • 2
  • 14
-2
votes
2 answers

Errors trying to read from a .dat file

I am having an error reading a from a .dat file. The .dat file is set up like this: / and I use the / as a delimiter. I am attempting to read from the file to read the name and age, but it comes up with this error: Exception in thread…
Nick D.
  • 59
  • 5
-2
votes
2 answers

Need help creating an array that reads and writes a .txt and lists words in alphabetical orders

I just started to code a while back and I'm in the process of dealing with arrays on my own, I understand them in theory but I need some help when it comes to getting practical. I asked my instructor to give me a couple of practices problems and he…
-2
votes
1 answer

vb.net read txtfile and navigate to that site (own browser development)

I have built my own browser 9see attached code) however I would like to modify the code so that textbox1 reads a txt file at start and uses the contents of that text file to navigate to a URL of equal value to the text with in that text file. All…
LabRat
  • 1,996
  • 11
  • 56
  • 91
-3
votes
1 answer

Read and modify XML file line by line in Python

I have an XML with the following structure: Test A test dataset 10289 some keyword url.com
Andrea
  • 91
  • 10
-3
votes
1 answer

I am new in python I was trying to perform read/write operations but I got this error ->FileNotFoundError: [Errno 2] No such file or directory error?

I found this solution from stackoverflow but will i have to add this piece of code every time i write a code to perform read/write operations. Or is there any long term solution available for this ? import os path =…
Pratik Vinod
  • 21
  • 1
  • 3
-3
votes
1 answer

How to easily read text from the clipboard and write text to the clipboard with C++ on Windows?

In C++ how to read text from the clipboard and how to write text to the clipboard? Reading and writing only bare text: Text properties like font, color, ... are ignored. If there is something else in the clipboard, the string that receives the…
Inherent
  • 183
  • 1
  • 1
  • 13
-3
votes
2 answers

Why does it seem like only the last line is being read in the text file?

I'm quite new to this so do excuse any newbie errors. So the goal of my code is to use the 3 lines of data in a text file ("Numbers.txt") to carry out some calculations line by line. I then want to write the results of these calculations into a new…
Emma H
  • 1
  • 2
-3
votes
1 answer

How do I write a concatenated string to a file?

So I have this piece of code here #inside of a repeating "while loop" print(even,flush=True, end=inbetween) #inbetween is what's between each number. (space, new line, etc.) even=even+2 Which prints out a sequence of even numbers in my…
-3
votes
2 answers

Write and Read multiple arrays on a file in Python

I need to write multiple arrays (3,3) on the same file and read them one by one. It’s the first time I use Python. Help me, please
Maca
  • 1
-3
votes
1 answer

How to read & write in a properties file with javascript

I'm working in a JEE web project and i have a problem, i would like to read and write into a properties file which is located into WebContent/WEB-INF/classes folder and i need to do this with javascript, do you have an idea how to do that ?
-3
votes
1 answer

Should I adjust the value of a property when setting it or when getting it?

Hello guys, please don't be too harsh. I am a beginner. What is the best practice for and what is the difference b/n the following: #1 public SodaDateTime DteRegistered { get { return…
Niki
  • 1
  • 1
-3
votes
1 answer

Write/Read Text Files (C#)

I wasn't 100% sure how to explain this in the title or how to search it up, so sorry if this has been post before. What I'm trying to do is read and write a file, for example I would do: WriteToFile(key + "=" + value); And in the text file it would…
superhb
  • 1
  • 2
1 2 3
42
43