Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
2 votes
2 answers
153 views

I have to write into a file the records of students (id, name, percentage) and get the list of those students who have scored percentage equal to or more than 90. The output prints in infinite loop. ...
1 vote
3 answers
172 views

I'm trying to read in a lot of data as efficiently as possible; the data are in about 1,400 CSV files within 6 individual ZIP files. The CSV files are all similar timeseries data with the same columns,...
Riley's user avatar
  • 13
1 vote
1 answer
119 views

I am trying to store several columns of the data, and then merge them with the other data when necessary. However, the data could only be merged with other data when I created it at the start, and it ...
2 votes
1 answer
82 views

if i compile and execute the following code, all goes fine #include <stdio.h> #include <stdlib.h> int main() { FILE *FILE_LICENCE; char* LICENCE_F = "Lc"; int RC; char* MSG = ...
Maurizio's user avatar
2 votes
2 answers
218 views

I recently got scolded real bad for writing the following: /** * @brief Reads metadata from a .meta file associated with a <internal directory format> directory. * * This function reads the ...
Mio's user avatar
  • 35
4 votes
1 answer
141 views

Nominally, I expected fread using "rb" mode to interpret carriage return and linefeed as-is (\r as "\r",\n as "\n"). But my mingw compiler downloaded from "Winlib&...
0 votes
0 answers
31 views

I am working on an application (Linux based) that uses AES-256 encryption and observed a significant increase in RAM usage during encryption. Initially, the process consumes about 3 MB of RAM (checked ...
2 votes
1 answer
90 views

I'm having an issue with fseek and fread. For some reason, using fseek (f, 0, SEEK_END); will not give me the end of my file, and instead go 1000 bytes farther, giving me junk data and generally being ...
Pauel3312's user avatar
1 vote
1 answer
101 views

I am working with an NXP microcontroller, which has stdio functionality when connected to the debugger. I've had no issues using fwrite() to write data to a binary file, so that I can monitor and plot ...
1 vote
1 answer
111 views

I have a large dataset (3.6 billion lines, 20 columns, I'm working in manageable chunks of 1m rows). My cells can include entries like this string: "sometext "some other text"... ; , &...
Jakob's user avatar
  • 1,463
0 votes
0 answers
25 views

I'm doing a C projct on Windows, using VScode and compile my code with gcc. I get into some offset problem that might be caused by fread() | ftell(). I read 256 counts of data from my binary file. And ...
willy's user avatar
  • 33
4 votes
2 answers
126 views

I have a datafile. #version 460 core out vec4 FragColor; void main() { FragColor = vec4(1.0f, 0.5f, 0.2f, 1.0f); } And I am trying to read the contents of it with fread. FILE *fshader; ...
user2980746's user avatar
0 votes
0 answers
23 views

In PHP feof() tests for the end of file, but the documentation says that fread() would stop once the end of file is reached: fread() reads up to length bytes from the file pointer referenced by ...
Tintenfisch's user avatar
3 votes
1 answer
258 views

I'm reading float data in from a file and Valgrind gives the error "Invalid read of size 4". I'm a new user of Valgrind and don't understand why I get this error. My code is: int main() { ...
1 vote
0 answers
56 views

I'm having issue streaming output from PHP script smoothly after upgrading OS, Apache and PHP. I have a shell script that executed by a PHP script, its take between 1 to 2 minutes to complete, the ...
Ayad's user avatar
  • 41

15 30 50 per page
1
2 3 4 5
...
110

AltStyle によって変換されたページ (->オリジナル) /