I've been working on an idea on how to create a job schedule from a list of names and a list of numbers (numbers are positions) I'd like it to generate 4 columns of predefined numbers so that each person has a unique number for each column. Ex.
1 2 3 4
Jim 21 22 11 10
Dave 10 11 21 22
Will 11 10 22 21
John 22 21 10 11
Does anyone know how I...
Search Result
Collapse
12 results in 0.0014 seconds.
Keywords
Members
Tags
-
Varied Job Schedule, Excel
-
Database with table naming issues
I am attempting to fix an old Quiz database that someone gave me. When someone takes a test, I want the test to pull 25 random questions. I built the query and used SELECT TOP 25. That works fine. The problem with the RND command is that the person built the table with a space in the name (Question Table). When I try to use the RND command I get an error. I made a copy of the table and renamed it, this allows the RND command to work fine. ... -
Retrieve a Random Image URL From Google With PHP
A recent project involved me obtaining a random image from the Web and using it in some specific fashion. I chose to use PHP to access Google Images for a random image URL. The image could be generic or related to a specific topic.
Here's the PHP function that queries Google Images and returns an image URL:
...Code:function GetRandomImageURL($topic='', $min=0, $max=100) { // get random image from Google if ($topic=='') -
How can I generate an include with a random number inside it?
I want to include divs for promotions, adverts, random site content and so on. The method I'd thought of is this: include them using random numbers. So I'd eventually want to generate something like:where the 1 could be between two set numbers, randomly chosen on page load. I understand how to generate a random number (i.e.Code:include("promo-column/promo-1.php")but I don't know the syntax to have that happen...Code:echo 'whatever-', rand(1, 5);
-
Comparing a Random Value with an entry problem..
Hi all, i have a simple application which i couldnt run correctly. My codes;
--------------------------------------------------------
...Code:using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; protected void Page_Load(object sender, EventArgs e) { Random r = new Random(); int myRandom = r.Next(1000, 9999); -
David727 started a topic why doesn't the compiler recognize the function although I included the right libs?in Cwhy doesn't the compiler recognize the function although I included the right libs?
this is the code
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
void main () {
int b ;
randomize () ;
b = random (61) + 40 ;
printf ("This is b: %d\n", b ) ;
}
These are the errors:
error LNK2019:unresol ved external symbol_random referenced in function_main
error LNK2019:unresol ved external symbol_randomiz e... -
How to do pick random math operations in a C program?
Good day!
Im working on a math drill program where the user is asked to answer random math problems that involves the +, -, /, *, and % operators.
Now i dont know how to generate these randomly.
What commands and codes could I use?
So much thanks in advance!
Have a fruitful new year! -
how to choose a random string of character in c++
like if i have a list of items and each time i want the program to choose one random item for me. i know how to generate a random number..but not picking a random string of charachters in a specific list..i don't know if i explain it right but i just want a general i dea about it .. -
Quadratic Sorting Algorithm Program
Hello! I need help with a program that I believe I am nearly done with. However, there seems to be a few details that preclude me from success. Here is my assignment:
Here is my class file (Sorts.java):
...Code:import java.util.*; /** * Description of Class * * @author Blake Walsh * @created October 20, 2009 */ public class Sorts{ -
Random xml generation for testing server
Hi guys,
How can I generate xml files randomly from a schema definition file.
Currently I have an xsd, which I insatantiate each time to generate an xml.
My requirement is to generate xml randomly such that fields in the xml conform to the xsd. Is it possible? Is there any java library which will help me do that?
I am using jaxb right now, which lets me generate xml for an xsd. But for this I need to feed value... -
Random generation of xml
Hi guys,
How can I generate xml files randomly from a schema definition file.
Currently I have an xsd, which I insatantiate each time to generate an xml.
My requirement is to generate xml randomly such that fields in the xml conform to the xsd. Is it possible? Is there any java library which will help me do that?
I am using jaxb right now, which lets me generate xml for an xsd. But for this I need to feed value for... -
how to access a folder that is randomly created by firefox
i m creating a app that can make backup of ur browser data, i m stucked for firefox, %APPDATA%\Mozil la\Firefox\Prof iles\ - this is the address for all of your bookmarks and everything in %APPDATA%\Mozil la\Firefox\Prof iles\ thr is a folder that is generated by firefox by a random string, its different on every comp, i wanna make the *randomly genrated folder* to a zip, i know how to make zip but i wanna know how can i do it without knowing the name...