Hi guys, got a few questions
i have initialised my collection with a few objects, how do i set the make etc when i initialise them (i have the set methods). So in the line below where would i put setMake()? would it work with a . accesor after LargePlane?
planesAvailable.put("502146", new LargePlane());
Im also having a problem with w...
I am using a library that prints a bunch of superfluous information to the console when I reference it. Is there a way to silence the output of the library?
...
This is the last part of the program I am working on. I want to output a tabular list of songs to cout. And then I want to output a specially formatted list of song information into fout (which will be used as an input file later on).
Printing to cout works great. The problem is that tons of extra character are added when printing to fo...
I have the following XSL template (I omitted the template for Organization, let me know if it's necessary):
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<xsl:output method="html" indent="yes" omit-xml-declaration="yes"/>
<xsl:tem...
I'm looking for some LaTeX template for creating quality output. On R-bloggers I've bumped on Frank Harrel's Rreport package. Due to my quite modest LaTeX abilities, only a user-friendly (and noob-friendly) interface should suffice. Here's a link to an official website. I'm following the instructions, but I cannot manage to install an ap...
I'm writing an MPI C program. I have troubles debugging it, because whenever I use fprintf, like this: fprintf(stdout, "worker: %d", worker); if the program hangs, because of some blocking MPI_Recv, I can't see any output. I'm sure the line of code is reached, because I can put a return statement after the fprintf statement, in which cas...
Does CppUnit have the ability to generate an html or xml file of its test cases and test results?
...
I am using EmguCV for a project and when our program runs it needs some dlls like "cxcore.dll" etc. (or it throws runtime exceptions). At the moment, I put the files in the root of the output folder (selected "Copy Always" in the file's properties in Visual Studio).
However it looks a bit messy, to have about 10 different dlls just ther...
I am using Ghostscript to convert a multi-page pdf to individual jpg files and can get it to output the files numbered like page_%03d.jpg but it always starts at page_001.jpg and i need it to start numbering the output files starting from page_000.jpg.
Is there a setting i can use to get Ghostscript to start at zero or am i going to hav...
Have 6 forms, 1 Base and 5 inherited.The Base has the following snippet:
procedure TMechan.Open1Click(Sender: TObject);
begin
if OpenDialog1.Execute then
Form1.Memo1.Lines.LoadFromFile(OpenDialog1.FileName );
CopyCylMemoToRecord;
ShowMechanicalValues;
end;
Since this snippet is in the Base it's also inherited by 5 others. P...
I have a problem using a table with an instead of insert trigger.
The table I created contains an identity column. I need to use an instead of insert trigger on this table. I also need to see the value of the newly inserted identity from within my trigger which requires the use of OUTPUT/INTO within the trigger. The problem is then t...
Hi,
I have a simple gateway listener which generates a log at the screen output via printf. I would like to record it so I can insert it in a mysql table.
printf("\nPacket received!! Decoding...");
I wonder if there is any fast way to do this is C.
In case there is, could I get both outputs at the same time?
Thanks
...
I am using php to output some rich text. How can I strip out the inline styles completely?
The text will be pasted straight out of MS Word, or OpenOffice, and into a which uses TinyMCE, a Rich-Text editor which allows you to add basic HTML formatting to the text.
However I want to remove the inline styles on the tags (see below), but...
we are trying to re-direct the output of the list to a file using the below cmd(java) in ubuntu,
Pls let us know if this works or not ?
Process p = Runtime.getRuntime().exec("ls -l >/home/blah blah/new.txt")
...
Hi all,
I would like to know how to firstly:
interpret whether certain applications are running and then whether subroutines are running within these applications.
I would also like monitor the system i.e if windows is running, if there are any errors or warnings.
Secondly, I would like to output these status' to a machine via digital ...
I created an Empty Project in Visual C++, but now I need the Console to display debug output.
How can I enable the Console without recreating the project or show the output in the VS output window?
Thanks in advance
Attic
...
Hey all,
I'm trying to make a system call in Python and store the output to a string that I can manipulate in the Python program.
#!/usr/bin/python
import subprocess
p2 = subprocess.Popen("ntpq -p")
I've tried a few things including some of the suggestions here:
http://stackoverflow.com/questions/1996518/retrieving-the-output-of-su...
Console, Debug, and Trace messages all seem to be displayed in the "Output" window, which is fine in most cases, but I'd like to have my Trace messages displayed separately (so they're not interleaved with everything else). Is there any way to do this without writing to a file/log?
...
Hi!
I am using solaris os.
from solaris im logging into sql plus.
my database is oracle 9i.
i am spooling the output of my query into a file.
i want in .csv format so that i can copy it into excel.
can any1 help me out.
my query is like.
select name,id,location from employee;
...
From a Console Application project in Visual Studio, I want to redirect Console's output to the Output Window while debugging.
...