output

Parser output sqlplus for get errors using C#

Hi all, I need parser the output of sqlplus, for get list of errors of compilation of sql files, using C# Any sample, please ?? Thanks in advanced. Greetings ...

Flash Buttons Don't Work: TypeError: Error #1009: Cannot access a property or method of a null object reference.

I've read through several threads about this error, but haven't been able to apply it to figure out my situation... My flash file is an approx 5 second animation. Then, the last keyframe of each layer (frame #133) has a button in it. My flash file should stop on this last key frame, and you should be able to click on any of the 6 butt...

Bash script: specify bc output number format

Greetings! I uses bс to make some calculations in my script. For example: bc scale=6 1/2 .500000 For further usage in my script I need "0.500000" insted of ".500000". Could you help me please to configure bc output number format for my case? ...

How to call a c++ function using c && redirect application output to textEdit in Qt

I'm trying to do a couple of things at once. I'm trying to do one major thing: redirect the application output that is displayed in the Qt Creator console to a textEdit that I have on my GUI. However, the class that I need to do this in is written in C and all of its related headers are in C as well. Is there a way that I can redirec...

Unexpected Blank lines in python output

I have a bit of code that runs through a dictionary and outputs the values from it in a CSV format. Strangely I'm getting a couple of blank lines where all the output of all of the dictionary entries is blank. I've read the code and can't understand has anything except lines with commas can be output. The blank line should have values...

Generation of formatted files with Ruby in the way how it can be done with PHP

Hi, I use PHP to generate files of some special format, and I have decided to try the same thing with Ruby. To make a file with PHP, I use the following code: <? include 'functions_and_settings.php'; ob_start() ?> some parts of another format <? // php functions generating file content, // including other formatted files ?> some ...

How to make Eclipse Debug Output always show latest output lines

I'm debugging my PHP application, trying to see what HTML code is being generated while I trace through the code. Problem is, everytime the Debug Output window fills its window, it scrolls to the top, forcing me to scroll down to view the last few HTML lines generated. Is there a way to make Debug Output not scroll up ? The effect I'...

Display a result in VB

My question is simple yet difficult to find an answer for. I declared a variable which is the sum of two other variables. I simply want to display that result on the screen. I think a msgbox is what I need to use but I'm not sure. ...

How can I use cout<<myclass?

myclass is a c++ class writed by me . and when I write myclass x; cout << x; // how to output is " 10 " or "20" like intger or float value ...

x86 Assembly Question about outputting

My code looks like this _declspec(naked) void f(unsigned int input,unsigned int *output) { __asm{ push dword ptr[esp+4] call factorial pop ecx mov [output], eax //copy result ret } } __declspec(naked) unsigned int factorial(unsigned int n) { __asm{ push esi mov esi, dword ptr [esp+8] cmp esi, 1 jg RECURSE m...

[NASM] How do I print out the content of a register in Hex

Hi, I'm currently getting started with NASM and wanted to know, how to output the contents of a register with NASM in Hexadecimal. I can output the content of eax with section .bss reg_buf: resb 4 . . . print_register: mov [reg_buf], eax mov eax, SYS_WRITE mov ebx, SYS_OUT mov ecx, reg_buf mov edx, 4 int 80...

How to convert NUnit output into an HTML report

Does anyone have any suggestions for a good tool, xslt or other that can produce an HTML report from the XML output of NUnit? We're currently using NUnit 2.5.5 to run a number of tests on our code base. The dev team are happy seeing the output in the GUI and console runners and the report shown on our Hudson server. The Hudson generate...

Powershell: Writing errors and ouput to a text file and Console

I am trying to write the entire output (errors included) of an executing script to the console and a file at the same time. I have tried several different options .\MyScript.ps1 | tee -filePath C:\results.txt # only the output to the file .\MyScript.ps1 2> C:\results.txt # only the errors to the file and not the console .\MyScript.ps1 >...

what is a fast way to output h5py dataset to text?

I am using the h5py python package to read files in HDF5 format. (e.g. somefile.h5) I would like to write the contents of a dataset to a text file. For example, I would like to create a text file with the following contents: 1,20,31,75,142,324,78,12,3,90,8,21,1 I am able to access the dataset in python using this code: import h5py f ...

What is difference between output functions in php ?

What is the difference between these code snippets? 1) $f = 12.044545; printf("%f",$f); vprintf("%f",$f); 2) echo("echo"); print("print"); Thanks, ...

Get file size of BufferedImage before writing the data

I'm working on a Java program that needs to send an image (preferably in PNG format, though I could perhaps use another format if necessary) over the network. The logical way to do this is, of course, to first send the length of the PNG image data, then the data itself. Problem: I don't see any method in ImageIO or anywhere else that wil...

Python - output from functions?

Hi I have a very rudimentary question. Assume I call a function, e.g., def foo(): x = 'hello world' How do I get the function to return x in such a way that I can use it as the input for another function or use the variable within the body of a program? When I use return and call the variable within another functions I get a Na...

Does an application installer OUTPUT anything?

For example if App-A tries to installed App-B. Is there any way for App-A to know when App-B is finished installing and can be run? update to be specific I am trying to install ChromeSetup.exe on windows using AIR 2. update 2 Good information guys, after reviewing all your answers is seems like I should run the installer with the -ms...

How do I write to command line from a WPF application?

Hi I know how to write to console but if I write to console in my program and call my program from the command line it won't display anything. How do I make it so that when I say Console.WriteLine or Console.Out.Writeline ir prints to the command prompt from which it was called and not somewhere else? Once again I know how to do Consol...

how to export a file in GWT?

Hello. I am beginner in GWT. My web-application need to save information, that user was typed, to txt file - how to implement this? Thanks in advance. ...