Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-1 votes
1 answer
165 views

I have a button on my form that has a text box that is supposed to have some written text. Here is the code: // Saves the text in blahwnd to a file called something.txt FILE* clickfile; fopen_s(&...
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 ...
4 votes
2 answers
136 views

My problem is that I have a string which is colored gray, the string is almost 1000 characters long. 2 of them must be in another color (red), but I don’t know how to change the color in the string. ...
1 vote
1 answer
190 views

I'm working with a program that produces text lines with tab-separated numbers as output, about 1 line every 2 minutes, each line having at most 51 characters (including the tabs). I piped its stdout ...
1 vote
2 answers
108 views

using fileno() to get the actual file descriptor of stdout. using fdopen() to create two different FILE* structure, named a and b. creating two threads, name A and B, using fwrite() to write some ...
benrush's user avatar
  • 373
0 votes
2 answers
119 views

I'm making a concurrent file downloader, which downloads in segment files and merges them afterwards. I want to improve it by pre-creating a big file with the whole size, then each thread will seek ...
0 votes
1 answer
105 views

I have a simple watchdog mechanism made as follow: A kernel module which holds a list of thread counters in a /proc file. The module increments each counter every second. When a counter reaches its ...
bui3's user avatar
  • 152
0 votes
1 answer
146 views

I have this code: #set working directory setwd(dirname(rstudioapi::getSourceEditorContext()$path)) dt = data.table( Product = c("a","b", "c", "d", "e"...
0 votes
1 answer
354 views

In Visual Studio 2022, I am getting the following warning when I call fwrite. Warning image C6387 It says: C6387:'fout' could be '0': this does not adhere to the specification for the function 'fwrite'...
lussco's user avatar
  • 23
1 vote
0 answers
127 views

Here's what I have so far: package main import ( "os" "github.com/saferwall/pe" ) func main(){ exePath, _:= os.Executable() peFile, _:= pe.New(exePath, &pe.Options{}) ...
0 votes
0 answers
35 views

When the device was testing power off and on, it was found that the content of a json file was missing. The function to operate it is as follows: /* 将json写入文件 */ FILE *pf = fopen(file_path,&...
3 votes
0 answers
116 views

I'm saving a large data.table object as a compressed file using data.table::fwrite(data, 'data.csv.gz'). However, when I try to extract this file using Ubuntu file manager, I get an "empty ...
Daniel's user avatar
  • 630
0 votes
1 answer
44 views

I have a function that create a file using the function fwrite. I've noticed that after the file is created, if I open the file using the online file manager of my host, I can see an extra dot inside ...
cactusman's user avatar
0 votes
1 answer
118 views

I'm trying to figure out how to write to the console in UTF-16 mode directly (without wprintf) as part of a solution to another problem and wanted to do this directly in C first. Here is an example of ...
1 vote
1 answer
105 views

I am trying to make a program that stores the name, employee number and salary of employees in a database, where I have to then store the amount of employees along with all the information of each ...

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

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