program (8,809)


c# - Robust Random Number Generation

c# - Robust Random Number Generation

I'm looking for a performant, reasonably robust RNG using no special hardware. It can use mathematical methods(Mersenne Twister, etc), it can "collect entropy" from the machine, whatever. On Linux/et…


Easy-to-Use Regular Expression Support in C++?

I'm looking for a robust, easy-to-use, regular expression evaluator for native C++, either platform-independent or Windows-specific. Requirements: Can't use Boost or ACE regex libraries(unfortunate…



How can I modify.xfdl files?(Update#1)

The.XFDL file extension identifies XFDL Formatted Document files. These belong to the XML-based document and template formatting standard. This format is exactly like the XML file format however, co…


asp.net - Visual Studio “Unable to start debugging on the web server. The web server did not respond in a timely manner.”

I get the following error pretty regularly when compiling in Visual Studio and running my web application: "Unable to start debugging on the web server. The web server did not respond in a timely mann…


linux - Shell scripting input redirection oddities

Can anyone explain this behavior? Running:#!/bin/sh echo "hello world" | read var1 var2 echo $var1 echo $var2 results in nothing being ouput, while:#!/bin/sh echo "hello world">test.file read var…


c# - Convert integers to written numbers

Is there an efficient method of converting an integer into the written numbers, for example: string Written=IntegerToWritten(21); would return "Twenty One". Is there any way of doing this that doesn't…


c# - Searching directories for tons of files?

I'm using MSVE, and I have my own tiles I'm displaying in layers on top. Problem is, there's a ton of them, and they're on a network server. In certain directories, there are something on the order o…


java - IllegalArgumentException or NullPointerException for a null parameter?

Closed.This question is opinion-based.It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by…


What is the best way to create a sparse array in C++?

I am working on a project that requires the manipulation of enormous matrices, specifically pyramidal summation for a copula calculation. In short, I need to keep track of a relatively small number of…


How should I load files into my Java application?

How should I load files into my Java application?…




how java example and using for with the code from