Questions tagged [output]

The externally observable consequences of calling a program on some input

The output of a program is the set of externally observable consequences of running a program on the given input.

A program's output can be manifested in several forms:

  1. What is printed to and/or
  2. What is written to an external file
  3. What changes are made to the inputs, which are then used in other functions or programs
9797 questions
2
votes
0 answers

powershell exe invocation fails on some shell instances, not others

I'm attempting to run some basic Win32 executables via powershell scripts, and I was mysteriously getting no output from the executables. After much investigation, this is what I have discovered: 1) Executables fail silently with NULL output. No…
2
votes
3 answers

Get output of "netsh dhcp server ..." command

This may sound simple, but I've hit my head against the wall for weeks about it. I have a C++ program that needs to get the output of the following Windows command line command: netsh dhcp server 192.168.200.15 scope 192.168.200.0 show clients…
armani
  • 93
  • 1
  • 10
  • 23
2
votes
1 answer

Garbled output from gradle when redirecting stderr to stdout. Jenkins gradle plugin suffers

When all output from gradle is redirected like gradle clean build > buildlog 2>&1 java compiler warnings output like ... :build :application:compileJava/var/lib/jenkins/jobs/some/path/somefile.java:87: warning: somewarningtext 1…
Andrey Regentov
  • 3,687
  • 4
  • 34
  • 40
2
votes
0 answers

how to output answer from 2 classes (OddArrSe3 and BubbleSort4)

Please Help. I am trying combine 2 classes (bubblesort4 and OddArrSe3), to get the answer from bubblesort4 to appear on OddArrSe3, such as on System.out.println ("Bubble Sort : "). What I am trying to do is get the answer for the coding…
2
votes
2 answers

Segmentation fault when printing strtok tokens

I am attempting to take a line of user input from stdin using fgets, tokenize it with strtok, and then print each token to make sure it was tokenized correctly. My code is as follows: char buffer[256]; char *token;` fgets(buffer, 256,…
sven
  • 121
  • 4
  • 11
2
votes
2 answers

How do I write this Android App? Automatic change of Audio Output Mode

My device is an Android MiniTV mk808c. The device defaults the Audio Output to audio_hdmi. I need the device to default to audio_codec OR change to audio_codec automatically. I can do this manually via a menu under settings->sound->audio…
2
votes
4 answers

Python: Read and write binary data

I am aware that there are a lot of almost identical questions, but non seems to really target the general case. So assume I want to open a file, read it in memory, possibly do some operations on the respective bitstring and write the result back to…
user1850980
  • 991
  • 1
  • 10
  • 15
2
votes
1 answer

How to use the Talend tRest component output

I'm using the 'tRest' component to perform a HTTP Post. When that request succeeds, I receive information in XML format. How can I access that information in the next component? My next step is to convert that information in a CSV format. And if I…
user2144555
  • 1,315
  • 11
  • 34
  • 55
2
votes
2 answers

Print function to an output file

I am about to be finished with a program I am writing and have reached a roadblock. I am trying to print the contents of a function called print which is called by a pointer. My problem is I need to print the contents of the function to an output…
art_vandelay
  • 43
  • 1
  • 6
2
votes
3 answers

How to save regression coefficients to file in SAS?`

I am trying to carry out a logistic regression with SAS. I have few settings for the model, and try to compare the difference. What I want to archieve is to output the estimated coefficients to a file. I think ODS maybe a promising way, but don't…
ChangeMyName
  • 7,018
  • 14
  • 56
  • 93
2
votes
2 answers

AngularJS : Write HTML Output to textfile

I'm working on an AngularJS 1.5 project with PhoneGap. Now I would like to write the HTML output to a textfile. I was trying to use the innerHTML function, but this returns the wrong output, example this return: Hi {{ Name…
2
votes
0 answers

Ant on Windows 7 is trucating a file path string, why?

I have a problem with this ant target: ... ${build} is set.