233 Topics

Member Avatar for
Member Avatar for bikashjit

My laptop has only 257MB RAM, so it does works soo slowly, it always hangs, I heard that windows users can increase RAM space with pendrive... I know it works windows 7 but does it work in XP ?? and Does hardrive memory also slow down your computer ?

Member Avatar for tigerbright
0
483
Member Avatar for ThePythonNoob

Hey guys im need some help with this binary calculator, you enter the amount of bits or n in and then it calculates the number? In order for you to understand my problem more I will explain why I am making this, I asked my dad how big 128 bit …

Member Avatar for ThePythonNoob
0
241
Member Avatar for abbafan

I've got this thing that has kept me puzzling for a few days now. I've created an array of 30 integers, randomly chosen. I would like to add the integers randomly to a two-dimensional array of 12 x 12 integers. The remaining elements in the two-dimensional array should keep their …

Member Avatar for Rashakil Fol
0
226
Member Avatar for dani0

Hi, I want to change this code as given 1 result. I don't need 10 line results. I just need 1 line result. When I tried to change 10 with 1 it doesn't work. Please help me about that. while( $row = mysql_fetch_array($query) ) { $id[] = $row['id']; } $id …

Member Avatar for vibhaJ
0
172
Member Avatar for tiffanynguyen08

I want to make a trivia game in python. Let's say I have a set of 25 questions, how do I choose 10 random questions from that set without repeats?

Member Avatar for vegaseat
0
4K
Member Avatar for Angel78

So I have been working on this dice roller for a while but am stuck. My form looks like this, a comboBox1 where you can pick numberOfSides on the dice, a textbox1 where you type the numberOfTimes it shall roll the selected dice, a button1 and a richTextBox1 to display …

Member Avatar for PatSharbaugh
0
1K
Member Avatar for coleguitajuan

Dear friends, I have this form (raffle_winner_form.htm) with the action in raffle_winner.php: <form name="form1" method="post" action="raffle_winner.php"> <label> Max numbers: <input type="text" name="max"> </label> <p> <label> <input type="submit" name="submit" value="calculate"> </label> </form> **raffle_winner.php** <?php session_start(); $session = session_id(); $number = mt_rand(1,$_POST[max]); ?> My intention is to show the random number in …

Member Avatar for vibhaJ
0
163
Member Avatar for fonzi

Hello I am currently working on this code and the code can be runned well from 100-10,000 random elements after that the heap sort says stack over flow, im thinking the recursive calls are the cause of this, so please healp public static void MAX_HEAPIFY(int [] A, int i, int …

Member Avatar for JamesCherrill
0
307
Member Avatar for mistersalty

Hi, I'm kind of new to VB and I'm trying to make myself a little game to help me get into the swing of VB (I know some java). Basically what I'm trying to do is this, I have 20 statements in a Select Case (right now they're just labels …

Member Avatar for mistersalty
0
236
Member Avatar for bastiaanvos

I was doing some past exam questions as a way of studying for an exam next month. One of the questions that I could not do was this: "Write a procedure that returns a two dimensional square array of size n x n, initialised with random real numbers between -100 …

Member Avatar for Momerath
0
211
Member Avatar for Reidmere

Hi, I'm trying to figure out how to create a random integer, that I can ALSO control by using links, which I'm setting as buttons. In short, I've been programming an MP3 Player. Currently, I have "$playing" set as a random integer, but I want links to increase by 1, …

Member Avatar for Reidmere
0
214
Member Avatar for devilsk

Hello, I need help with making a code that opens a random file in a directory... The files will be called: 1.txt 2.txt etc... Could someone please reply?

Member Avatar for Begginnerdev
0
119
Member Avatar for mrcerimo

I'm making my own website and from the website you can download some of my c++ games. on the website i have this code that writes in to a .txt file some info from the visiter like: ip, os , browser and what site did he/she visit. so ok i …

Member Avatar for mrcerimo
0
3K
Member Avatar for evamshi88

I am trying to generate random points on the canvas. So i want to the random point on the screen to move to a new random location, when mouse touches it. How do i do this?? this is not happening with any of the mouse events. An example would be …

Member Avatar for Sahil89
0
902
Member Avatar for lfmconsummates

I'm trying to have HTML generate random background colors using Python. What I have so far is: `print "<body bgcolor='%s'>" % choice` what python code should follow?

Member Avatar for prerakmody
0
380
Member Avatar for beastpanda

Hi all, I am new to php and I have a problem that I am looking into it for 1 day and can't understand it please help. here is my html code : <html> <head> <title> Calculation Form </title> </head> <body> <form action=calculate.php method="POST"> value one: <input type="text" name"val1" size=10 …

Member Avatar for broj1
0
187
Member Avatar for FALL3N

what I'm pretty sure I learned in school and what like every website said when I tried to look this up online was that the C++ code for generating a random number with floor: 1 and ceiling 100 (err I guess 101) is: [CODE]int number = rand() % 100 + …

Member Avatar for FALL3N
0
277
Member Avatar for scottd82

Hey everyone, I am trying to create a random number generator with MIPS assembly. I have most of the code written, I just need to change my set number for a guessing game to a random number. I also want to ask the user if they'd like to play again. …

0
553
Member Avatar for km2011

Hello, everyone! I am trying to generate a random number with Java, but random with the fix number of reviewers per object.Example: I have 5 reviewers(r(i)) and 5 objects(o(j)), a[i][j] is the evaluation score that reviewer(r(i)) has evaluated object(o(j)), and my question is i want to labeled each object should …

Member Avatar for NormR1
0
657
Member Avatar for khaos64

I am very new to VB.NET, I want to create a Forms Application to load a text file that has lets say 50 lines, some of the lines are identical and those are grouped together and some same format but different make up. Have it loads it into a text …

Member Avatar for khaos64
0
683
Member Avatar for james1on1

hi there masters of c# code i bow to your hard work and knowledge i am a beginner and i would be very gratefull for full explainations and not just code snippets my target is to create a web browser app in c# which load a difffrent website on each …

Member Avatar for Mitja Bonca
0
265
Member Avatar for AleWin

I have a problem, I need to generate 16 random numbers (1-16) and insert them into 16 vector have tried using a for runs a check every time it fires a number but does not work .. [CODE]for ( i = 0; i <= 16; i++) { int[] v = …

Member Avatar for ddanbe
0
404
Member Avatar for newbie1234

i want 128 bit key in my academic project. Can any one please tell me how to generate 128 bit key in c++.

Member Avatar for Software guy
0
2K
Member Avatar for logicmonster

I am having a problem displaying random numbers, I'm trying to make a dice game where you play against the computer and the first one to 100 wins. However, my random number is never random, it always comes out as the same number. From what I understand to simply display …

Member Avatar for MrEARTHSHAcKER
0
858
Member Avatar for Joniniko

Alright so basically i need to create a simple maths game in C. Involving addition subtraction and multiplication of random numbers. But i also need to add a timer to that. So lets say you are given 10 seconds to answer the question and every correct answer adds you 10 …

Member Avatar for JilMakias
0
449
Member Avatar for jonsan32

Simple question, I'll take NO for an answer if it's not possible. With a random array, can I display the results multiple time on the same page. I know I can't use css, and I would rather not use php... but is there a way for me to list the …

Member Avatar for jonsan32
0
187
Member Avatar for cyberdaemon

Good day, I am creating an application that can play sounds on my program i used the snippet of VB.net i am using this code to play some sounds My.Computer.Audio.Play(".wav") all i want is to random pictures and the sounds associated on that pictures will be played... I ma having …

Member Avatar for cyberdaemon
0
186
Member Avatar for inuasha

I want to be able to generate my own random numbers without using the random module. I want to do this that way I can learn somewhat how to do the big boy code on my own.

Member Avatar for snippsat
0
2K
Member Avatar for Topherman

[CODE][/CODE]hey, this program is supposed to display 50 random numbers, which is does already, average those numbers, find the maximum,minimum, and mode of the numbers. I haven't started on the mode yet, but i dont see why the other things don't work. Did I initalize it wrong? [CODE] #include<string> #include<ctime> …

Member Avatar for raptr_dflo
0
1K
Member Avatar for rfrapp

I'm writing a program that rolls a die a number of times that the user enters, and counts up each time a one, two, three, and so on is rolled. Right now, it only prints out zero's. Any guidance would be appreciated! Here's my code: [CODE] // dice.cpp : Defines …

Member Avatar for WaltP
0
154

The End.