python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Golang segment stdin stream to file
instead of writing a pipe to a huge file i want to segment the stream in chunks on signal USR1. i think i got the basics working but the app just hangs and nothing happens, any clues or best practices...

JRSmile
Votes: 0
Answers: 1
How to completely clear stdin and the \n before scanf()
Environment:
Windows 7 Enterprise SP1
gcc version 6.3.0 (MinGW.org GCC-6.3.0-1)
I'm new to C language (not new to programming).
I'm migrating a big program to C language. All works fine except for t...
Maurizio
Votes: 0
Answers: 2
Capturing the *complete* output stream of a child_process in NodeJS
I've been trying to capture the output of a child_process for a while now. The following code example is my current attempt.
Code:
// Spawning a shell
var terminal = require('child_process').spawn(`sh...
santcleep
Votes: 0
Answers: 1
I am trying to take two input dates in vscode in windows in GNU g++ compiler. But I get first date set to zero after I enter second date?
When given the first.date in the first print output the result is good. But as soon as the second scanf line comes into picture it changes the first.date value to zero. So in the last printf line the ...
Rakesh Solanki
Votes: 0
Answers: 0