» Home » Output » Page 1
Convert byte to binary, append output to string, convert to double, print output…losing bits on output
Category : 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

View Replies


BASH - How can I send them to dialogue only standard output and to file /root/sh/sh.log standard output + output error
Category : 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


View Replies


Reason for output 1 bit differences between Linux-gcc compiled C code output and MS-VS2008 compiled output?
Category : 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


View Replies


Bash scripting: How do I parse the output of a command and perform an action based on that output?
Category : 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


View Replies


How to format the output file created with sqlplus?Why one of the output blocks appears two times?
Category : 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

View Replies


How do I stop the Visual Studio Output window displaying the logger name of log4net output?
Category : 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>
View Replies


gtest output not appearing in visual studio output window after including msxml4
Category : 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

View Replies


rror at Import Identity History OLE DB Source Output contains no output columns
Category : Web Design

I'm getting the following error and I don't know why. I am totally new to SSIS so bear with me.


TITLE: Package Validation Error

Package Validation Error


ADDITIONAL INFORMATION:


Error at Import Identity History [SSIS.Pipeline]: The "runtime connection "OleDbConnection" (10)" in the connection manager collection, Connections, of "component "OLE DB Source"


View Replies


Running a shell command from Ruby: capturing the output while displaying the output?
Category : Network & Servers

I have a problem.


I want to run a ruby script from another ruby script and capture it's output information while letting it output to the screen too.


runner
#!/usr/bin/env ruby
print "Enter your password: "
password = gets.chomp
puts "Here is your password: #{password}"

The script file that I run:


start.rb
o

View Replies


How can I redirect the output from a start command from within a batch file whose output is already redirected?
Category : 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


View Replies


Next
2012 / 2017 Copyrights BigHow , All Rights Reserved .