by: Jason Heyes |
last post by:
I want to allow objects of my class to be read from an input stream. I am
having trouble with the implementation. Here are the different approaches I
have tried:
// Version 1.0 - Default...
|
by: Garrett Kajmowicz |
last post by:
I have two implementations of stringstream and they both handle
interleaved reads and writes differently. I was hoping that you might be
able to shed some light as to the "correct" operation, and...
|
by: Andreas Müller |
last post by:
Hi,
I'm working on a Linux-programm with a signal-handler and therfore I
need to use the read-system-call instead of cin.get or sth. like that.
With getline my program works fine, it reads a...
|
by: Ollie Cook |
last post by:
Hi,
I am having some difficulty with read(2) and interrupting signals. I
expect I am misunderstanding how the two work together, so would
appreciate some guidance.
I am trying to 'time out' a...
|
by: Ole |
last post by:
I got a problem with serial port read which I use like this:
sp.Read (byteBuffer, 0, 100);
but the problem is that it returns before it has read the 100 bytes - is
there a way to set up the...
|
by: Madhu |
last post by:
Hi,
I need to trap EAGAIN error while using read().
I read in some website that read() has to wait till write() is
completed for EAGAIN to occur. But read() doesnt seem to wait, it reads...
|
by: Ryan Liu |
last post by:
Hi,
If I have many threads write to a variable(e.g. var++) and another thread
read it on an interval base.
For those writing thread, I know I need lock, or its value could be lower
( even I...
|
by: Osamede.Zhang |
last post by:
I have some code like this:
SqlCommand cmd = new SqlCommand("get_storeid_byuser", cn);
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.Add("@username", SqlDbType.VarChar, 50).Value...
|
by: Jack |
last post by:
Hi,
I want to read a string a chars from a stream, and put it into a
string.
At the moment, I'm creating a buffer of a fixed size, and reading the
stream of text into it. It works, but I have...
|
by: martinmercy2001 |
last post by:
Could any body help me with creating a ring buffer class using a string. use memory circular buffer not an IO buffer. just read, write and seek method. Read method should take anumber and return the...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|