5 Discussion / Question Topics

Remove Filter
Member Avatar for
Member Avatar for Sweetmaldita08

is there any code in vb6 were i can say it is fifo(fisrt in first) for ex. i have 1 product but it has 3 different date issue and date of expiration how can i determine which one that i am going to out !is there any code for that?

0
85
Member Avatar for anisha.silva

Hi, I an reading a txt file line by line and putting it in to a Queue<string> q = new Queue<string>(); when i execute the program I get a Argument Exception 'Source array was not long enough. Check srcIndex and length, and the array's lower bounds.' how do i handle …

Member Avatar for anisha.silva
0
1K
Member Avatar for hwoarang69

trying to create fifo that can read and write. but some reason its not going below "O_RDONLY" line. any thoughts? char *fifo_name = "fifo"; #define 0666 int main() { int fd1; int fd2; //create fifo if(mkfifo(fifo_name,FIFO_MODE) == -1) { exit(1); } //open fifo for read if((fd1 = open(fifo_name, O_RDONLY)) == …

Member Avatar for hwoarang69
0
153
Member Avatar for thetwig

hey guys.. I'm trying to create a bunch of children where the parent creates child1, and child1 creates child2 and the parent creates child3 using fork()... and I'm supposed to pass a message through using a pipe, but when I pass from child2 to child3 I have to use a …

0
125
Member Avatar for Sudo Bash

Hi, I was wanting to write a (ba)sh script to allow me to wait for the detection of a new USB device, and when that device is detected, execute some commands. The scripts are intending to be working on the principle that whenever I plug in a usb device a …

Member Avatar for Sudo Bash
0
241

The End.