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)
How can I generate a random number in C
I want to generate a random number/character without using any libraries but <stdio.h>. Is there any possibility to do that? I mean, by doing some weird loop or something like that, I don't care...
reshi
Votes: 0
Answers: 1
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
fscanf() not writing value scaned from file
I wrote some functions.
typedef struct {
unsigned long long studentID;
DATE date;
char address[256];
unsigned short isInfected;
}NAT;
int ReadAllNAT(NAT** AllNATPtr) {
FILE* NATSe...
CloudRing
Votes: 0
Answers: 1
My prints in the standard output aren't in good order
i want to do a function that deletes printed characters in the standard output. However it turns out that it prints the '\b' before my actual printf
I tried to print a t it prints it before as well.
I...
nguiard
Votes: 0
Answers: 1