11 Unanswered Topics

Remove Filter
Member Avatar for
Member Avatar for arty.net

I have written some code just to practice verbosity in python. Verbosity is embedded by means of the ArgumentParser module....however, I'd also like to write the stdout to file also when verbosity is disabled : #!/usr/bin/python from optparse import OptionParser from argparse import ArgumentParser import sys def printable1(): print "1" …

0
185
Member Avatar for sndj

hi, I'm new in Java and Hadoop. I'm in need of MapReduce code for large EEG data file split in Java. Based on channels(electrodes attached on head) and time, data have to be splitted. In mapper file splitting takes palce and in reducer it process the splitted data. For parallel …

0
138
Member Avatar for mahnaz0098

Hello when i use below program to write and read data from USB mass storage device(flash memory) i am getting following error. I've succeeded with usb_bulk_write() but can't utilize usb_bulk_read(). It returns an error. Set configuration usb_bulk_write: 12 bytes written 33 5b 2 1 0 5 1 3 7 f …

0
105
Member Avatar for Gizzle72

I am trying to create a powerpoint quiz that tallies the scores, provides the results e.g. 95 out of 100 and the percentage %, then writes the users name and results to an excel spreadsheet. Oh, and all this has to be done using Office 2007 products. Can anyone help? …

0
137
Member Avatar for ricedragon

I am currently writing a Client and server program and I have no idea where when wrong with the write function It calls the function [CODE] writeToclient (int clientFd) { tatic char* win = "you win !"; write (cliendFD , win , strlen(win)+1) ; printf("test"); } [/CODE] it execute the …

0
78
Member Avatar for adixovi

Hi, this is a clue game in prolog. [B][U]I'm posting it to thank everyone that takes the time to post and help people, like me.[/U][/B] The program is spanish, cause in from México, but it's a clue game. Features: Write and read *.txt files, and use their content to compare …

0
148
Member Avatar for moose333

Hello I am currently attempting to write the contents of a .hrm file into a datagridview and place each piece of data into its required column. This is the code I have at the moment which is currently just extracting some data from the .hrm file and placing it in …

0
104
Member Avatar for arshad115

Hi,I want to copy a few files to the Windows\winsxs folder ,but in windows vista/7 you cannot write files to that folder, apparently there is a user called "TrustedInstaller" only that user has write access to the folder. TrustedInstaller > Administrator. I tried to use "runas" for my process but …

0
88
Member Avatar for applepomme

I used this to write the matrix into a file: int Nx, Ny, Nz; Array <complex<float>, 3> matrix(Nx, Ny, Nz, ColumnMajorArray<3>()); ...get matrix data... fstream outbin(outname.c_str(),ios::out|ios::binary); outbin.write(reinterpret_cast<char *>(matrix.data()),sizeof(complex<float>)*Nx*Ny*Nz); outbin.close(); Then, I used this to read this matrix, works fine, values and orders are correct too: Array <complex<float>, 3> matrixb(Nx, Ny, …

0
80
Member Avatar for jaaaelpumuki

i everyone, I'm trying to send data to arduino(serial) from assembler (8086 -windows). I can read data but write doesn't work. I always receive 80H in AX, this is the code: [code]send proc MOV AH,00 ; init port MOV AL,11101011b ; 9600, N,1 bit stop, 8 bit data MOV DX,00 …

0
92
Member Avatar for InsightsDigital

Okay, Folks, we all know that writing online has disrupted the writing styles that our grammar school teachers have taught us. All I know it not to type in caps since it is yelling. Other than that - almost anything goes. So what do you think about this? I thought …

0
119

The End.