Questions tagged [utility]

Utility software is system software designed to help analyze, configure, optimize or maintain a computer. A single piece of utility software is usually called a utility or tool.

Utility software usually focuses on how the computer infrastructure (including the computer hardware, operating system, application software and data storage) operates. Due to this focus, utilities are often rather technical and targeted at people with an advanced level of computer knowledge - in contrast to application software, which allows users to do things like creating text documents, playing games, listening to music or viewing websites.

367 questions
-1
votes
2 answers

How and why to implement the static method intValue - Roman Numeral convert

I report for you the question of my teacher: Implement the static utility method intValue and reuse the code you have in the instance method. // TODO implement this public static int intValue(String roman) { return 0; …
InExperience
  • 103
  • 1
  • 3
  • 12
-1
votes
2 answers

Calculating distance of cannon shot using utility tests in c# console application

I'm trying to calculate distance of cannon shot using velocity and angle. I'm testing results using utility tests. The formula for range should be someting like v^2 * sin2a aka velocity squared * sin2alpha . As far as i know, sin2a is supposed to be…
aiden87
  • 929
  • 8
  • 25
  • 52
-1
votes
1 answer

How to retrieve a column from database using SQL query

I’m using database utility and in this example I’m inserting some records DBUtil.ExecuteNonQuery(@"if not exists(select * from UserTemplate) begin insert into UserTemplate select id, 8,1,….{TemplateCode} …. from User …
panjo
  • 3,467
  • 11
  • 48
  • 82
-1
votes
2 answers

How to implement utility feature in a command line tool

I have developed a commandline tool by name translator in java and I run this tool by creating a jar file and using below command java -jar translator.jar < input1 > now I have been asked to add a usage/ utility feature to this tool, like example…
huma_23
  • 3
  • 2
-1
votes
1 answer

What combination of constructors and access modifiers am I looking for?

I have a user-defined class Fraction which contains several constructors and member methods. I want to create a class of separate "standalone functions" which use two instances of Fraction as arguments to either create a third Fraction or modify…
Pete
  • 1
  • 1
-1
votes
1 answer

How to create a new subdirectory and copy files into it? (C utility in Unix)

I'm making a utility in C under Unix. What functions would allow me to: a) make a directory b) copy a file into it Can someone let me know what would work here or point me towards some documentation?
countofmontecristo
  • 381
  • 3
  • 5
  • 15
-1
votes
1 answer

How to get hg mdiff to ignore whitespace differences?

I recently started using mercurial. I often want to check differences between revisions while ignoring whitespace (e.g. due to running dos2unix on certain files). Now, for hg mdiff, I can do this using a modified diff command, hg wdiff, the…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
-1
votes
1 answer

Utilities or libraries for finding most closely matched binary file

I would like to be able to compare a binary file X to a directory of other binary files and find which other file is most similar to X. The nature of the data is such that identical chunks will exist between files, but possibly shifted in…
peepsalot
  • 422
  • 4
  • 7
-1
votes
1 answer

Batch file Mixing multiple colors

I've been wondering if someone have made a batch file utility that can mix 2 batch colors into another color (for example: Red + Yellow to make Orange). I don't really know if its even possible or not to do such a thing, but if there is, I want to…
-1
votes
1 answer

End user License Agreement software like?

I'm looking for an Windows utility/software that allows to display a message the first time when a new user logs on the computer. The user must not be able to use the computer until he validates the message. Of course, the next time when he logs the…
Stan92
  • 453
  • 1
  • 8
  • 21
-2
votes
3 answers

How to insert newline in the argument text of "sed" utility under both single and double quotes?

I'd like to insert multiple lines above a target line in a file by using sed. The file.txt below contains one line "target line". My initial version is using the single quote: sed '/target line/ i\ inserted line1;\ inserted line2;\ …
taoistmiao
  • 29
  • 5
-2
votes
1 answer

How do I install dialog utility on Fedora Linux?

I tried this code on CLI - yum provides */dialog It doesn't seem to work. I also tried a link for RPM but that didn't work either.
Olo Olo
  • 55
  • 1
  • 1
  • 5
-2
votes
1 answer

how can i design simple application

how can i design simple dot sisx application to track public transport on nokia symbian s60v3 phone
-2
votes
2 answers

Print all files in the sub-folders of a folder

I'm planning on using Robobasket to organise my folders like this, Invoices - Jan/Feb/Mar - Customer Number 1/Customer Number 2 - Then the dates the invoices actual arrived on The files are named, Month/Customer Number/Date. What I need to be able…
-2
votes
3 answers

Batch File color mixing (part 2)

I tried this code to mix colors and may someone please describe the code to me? @echo off setlocal EnableDelayedExpansion set hexa=0123456789ABCDEF set /P "first=Enter first color (hexa digit): " set /P "second=Enter second color (hexa digit): " set…
1 2 3
24
25