» Home » OUTPUT » Page 1
Convert byte to binary, append output to string, convert to double, print output…losing bits on output
by niswilsonnissen in Programming Languages

So, I am having trouble with some code.


I want this function to take in a byte array(testing with single byte for now), convert the byte into binary and then append it to a "1." to use in a calculation.


ex:


ouput: 01110000 ----> 1.01110000


#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include &l

BASH - How can I send them to dialogue only standard output and to file /root/sh/sh.log standard output + output error
by Robert M in Network & Servers

Good day


How can I send them to dialogue only standard output and to file /root/sh/sh.log standard output + output error


# I need
dialog == standard output
/root/sh/sh.log == standard output + error output
# My experimental
start 2>&1 /root/sh/menu.log | dialog --stdout --progressbox 20 200;

Thank you


Reason for output 1 bit differences between Linux-gcc compiled C code output and MS-VS2008 compiled output?
by jgood in Operating Systems

I have a Theora video deocder library and application compiled using VS-2008 on windows(Intel x86 architecture). I use this setup to decode theora bit streams(*.ogg files). The source code for this decoder library is used from FFMPEG v0.5 source package with some modifications to make it compile on windows-VS-2008 combination.


Now when i decode same theora bitstream using the ffmpe


How do I stop the Visual Studio Output window displaying the logger name of log4net output?
by Micah in Programming Languages

I am using log4net DebugAppender (or TraceAppender). I have configured the appender like this:


<appender name="DebugAppender" type="log4net.Appender.DebugAppender">
<immediateFlush value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%level %message%newline" />
</layout>
gtest output not appearing in visual studio output window after including msxml4
by cbot5000 in Programming Languages

I have gtest all setup and running fine with Visual Studio 8.


I've included msxml 4.0 in my build and now the test output won't show up in the visual studio output window.


The application will run if launched from the command line and return correct results (no missing dlls)
I've narrowed it down the msxml4.dll because if I comment out the include section everything

How to format the output file created with sqlplus?Why one of the output blocks appears two times?
by Matthew Steed in Programming Languages

I used this steps Oracle 10g - Write queries results to file in order to create a xml file. So this is the sql script which I loaded with


c:>sqlplus -s username/password@database.domain.com < tmp.sql > output.txt


set pagesize 0;
set serveroutput on
set termout off
set verify off
set heading off
set lo

Bash scripting: How do I parse the output of a command and perform an action based on that output?
by Pedro Varela in Network & Servers

I am using wget to grab some files from one of our servers once an hour if they have been updated. I would like the script to e-mail an employee when wget downloads the updated file.


When wget does not retrieve the file, the last bit of text wget outputs is


file.exe' -- not retrieving.
<blank line>

How do I watch for that bit of text an


How can i create an accurate output buffer in C++ for 7zip command line output?
by Rhoxed in C & C++ & C#

I originally used GetFileSize() and then found out that is not the correct way to go. Please give me some suggestions.


redirect and get the output of console of eclipse to string or output text java
by lietkynes in Java

i tired to redirect the output of eclipse to an output text , the principale idea is to get the output of eclipse console , th result is the maven description,
i want to redirect the output such as hudson console in an output text


How can I redirect the output from a start command from within a batch file whose output is already redirected?
by sordumsoruyu in Programming Languages

I've searched high and low, but all the suggestions and tips I've found do not work for some reason. I have a batch file that is being invoked as such:


cmd /C "automateMyProgram.bat >> automation.log 2>>&1"

That works great: automation.log gets loaded with all the stdout and stderr for that particular batch file. However, within that batch


Next
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .